Core/Networking: Fixes being disconnected when using logout button.

This commit is contained in:
hondacrx
2021-02-12 10:14:52 -05:00
parent 5431374491
commit 68c3e0c241
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -444,10 +444,8 @@ namespace Game.Networking
public override void OnClose()
{
lock (_worldSessionLock)
{
_worldSession.Dispose();
_worldSession = null;
}
base.OnClose();
}