clean up some disposes, remove channel and use async ienumberable for upload as well

This commit is contained in:
Stanley Dimant
2022-06-27 13:54:52 +02:00
parent c7439ac769
commit 51db0e54f2
4 changed files with 29 additions and 33 deletions

View File

@@ -169,8 +169,6 @@ public class CachedPlayer
_ipcManager.GlamourerApplyOnlyCustomization(_originalGlamourerData, PlayerName);
_ipcManager.GlamourerApplyOnlyEquipment(_lastGlamourerData, PlayerName);
}
IsVisible = false;
}
catch (Exception ex)
{
@@ -183,6 +181,7 @@ public class CachedPlayer
_apiController.CharacterReceived -= ApiControllerOnCharacterReceived;
PlayerName = string.Empty;
PlayerCharacter = null;
IsVisible = false;
}
}