Core/Networking: Fixes being disconnected when using logout button.
This commit is contained in:
@@ -444,10 +444,8 @@ namespace Game.Networking
|
||||
public override void OnClose()
|
||||
{
|
||||
lock (_worldSessionLock)
|
||||
{
|
||||
_worldSession.Dispose();
|
||||
_worldSession = null;
|
||||
}
|
||||
|
||||
base.OnClose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user