mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
nullify cts properly, bump version
This commit is contained in:
parent
a09b5024f9
commit
206520f6f2
2 changed files with 4 additions and 1 deletions
|
|
@ -213,6 +213,8 @@ public class CachedPlayer
|
|||
{
|
||||
ApplyCustomizationData(kind, downloadToken);
|
||||
}
|
||||
|
||||
_downloadCancellationTokenSource = null;
|
||||
}, downloadToken).ContinueWith(task =>
|
||||
{
|
||||
if (!task.IsCanceled) return;
|
||||
|
|
@ -415,6 +417,7 @@ public class CachedPlayer
|
|||
_ipcManager.PenumbraRemoveTemporaryCollection(PlayerName);
|
||||
_downloadCancellationTokenSource?.Cancel();
|
||||
_downloadCancellationTokenSource?.Dispose();
|
||||
_downloadCancellationTokenSource = null;
|
||||
if (PlayerCharacter != IntPtr.Zero)
|
||||
{
|
||||
foreach (var item in _cachedData.FileReplacements)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue