mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:17:22 +01:00
clear last received data on pair offline
This commit is contained in:
parent
32d04bb8df
commit
b448efdeb6
1 changed files with 3 additions and 0 deletions
|
|
@ -154,12 +154,15 @@ public class Pair : IDisposable
|
||||||
public void MarkOffline()
|
public void MarkOffline()
|
||||||
{
|
{
|
||||||
_onlineUserIdentDto = null;
|
_onlineUserIdentDto = null;
|
||||||
|
LastReceivedCharacterData = null;
|
||||||
CachedPlayer?.Dispose();
|
CachedPlayer?.Dispose();
|
||||||
CachedPlayer = null;
|
CachedPlayer = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
_onlineUserIdentDto = null;
|
||||||
|
LastReceivedCharacterData = null;
|
||||||
CachedPlayer?.Dispose();
|
CachedPlayer?.Dispose();
|
||||||
CachedPlayer = null;
|
CachedPlayer = null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue