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>
<Authors></Authors>
<Company></Company>
<Version>0.8.28</Version>
<Version>0.8.29</Version>
<Description></Description>
<Copyright></Copyright>
<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)
{
if (string.IsNullOrEmpty(PlayerName)) return; // already disposed
base.Dispose(disposing);
if (string.IsNullOrEmpty(PlayerName)) return; // already disposed
SetUploading(false);
_downloadManager.Dispose();
var name = PlayerName;