We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36daaaf commit a480ebdCopy full SHA for a480ebd
src/Servers/Chat/src/Application/Client.cs
@@ -59,14 +59,10 @@ protected override void OnDisconnected()
59
new QuitHandler(this, req).Handle();
60
Info.IsLoggedIn = false;
61
}
62
+ StorageOperation.Persistance.RemoveClient(this);
63
base.OnDisconnected();
64
65
protected override ISwitcher CreateSwitcher(object buffer) => new CmdSwitcher(this, UniSpyEncoding.GetString((byte[])buffer));
66
public RemoteClient GetRemoteClient() => _remoteClient;
- protected override void OnConnected()
67
- {
68
- StorageOperation.Persistance.RemoveClient(this);
69
- base.OnConnected();
70
- }
71
72
0 commit comments