nullify cts properly, bump version
This commit is contained in:
@@ -213,6 +213,8 @@ public class CachedPlayer
|
|||||||
{
|
{
|
||||||
ApplyCustomizationData(kind, downloadToken);
|
ApplyCustomizationData(kind, downloadToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_downloadCancellationTokenSource = null;
|
||||||
}, downloadToken).ContinueWith(task =>
|
}, downloadToken).ContinueWith(task =>
|
||||||
{
|
{
|
||||||
if (!task.IsCanceled) return;
|
if (!task.IsCanceled) return;
|
||||||
@@ -415,6 +417,7 @@ public class CachedPlayer
|
|||||||
_ipcManager.PenumbraRemoveTemporaryCollection(PlayerName);
|
_ipcManager.PenumbraRemoveTemporaryCollection(PlayerName);
|
||||||
_downloadCancellationTokenSource?.Cancel();
|
_downloadCancellationTokenSource?.Cancel();
|
||||||
_downloadCancellationTokenSource?.Dispose();
|
_downloadCancellationTokenSource?.Dispose();
|
||||||
|
_downloadCancellationTokenSource = null;
|
||||||
if (PlayerCharacter != IntPtr.Zero)
|
if (PlayerCharacter != IntPtr.Zero)
|
||||||
{
|
{
|
||||||
foreach (var item in _cachedData.FileReplacements)
|
foreach (var item in _cachedData.FileReplacements)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors></Authors>
|
<Authors></Authors>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
<Version>0.6.3</Version>
|
<Version>0.6.4</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>
|
||||||
|
|||||||
Reference in New Issue
Block a user