potentially fix issue with unlimited redraws

This commit is contained in:
rootdarkarchon
2023-04-30 16:17:07 +02:00
parent d426e0b428
commit dc48840352
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<Authors></Authors> <Authors></Authors>
<Company></Company> <Company></Company>
<Version>0.8.28</Version> <Version>0.8.29</Version>
<Description></Description> <Description></Description>
<Copyright></Copyright> <Copyright></Copyright>
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl> <PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>

View File

@@ -149,10 +149,10 @@ public sealed class CachedPlayer : DisposableMediatorSubscriberBase
protected override void Dispose(bool disposing) protected override void Dispose(bool disposing)
{ {
if (string.IsNullOrEmpty(PlayerName)) return; // already disposed
base.Dispose(disposing); base.Dispose(disposing);
if (string.IsNullOrEmpty(PlayerName)) return; // already disposed
SetUploading(false); SetUploading(false);
_downloadManager.Dispose(); _downloadManager.Dispose();
var name = PlayerName; var name = PlayerName;