Crash on exit to login screen resolved

Had to comment out warden related code, as this caused a server crash
when a player exited to the login screen.

Note: Warden had to be disabled elsewhere due to crashing on entering
the game world.
This commit is contained in:
Charles A Edwards 2016-09-04 17:04:59 +01:00 committed by Antz
parent 95cee3b86c
commit 0569fdf697

View file

@ -129,9 +129,10 @@ WorldSession::~WorldSession()
m_Socket = NULL; m_Socket = NULL;
} }
// CAUSES CRASH ON PLAYER EXITING TO LOGIN SCREEN
// Warden // Warden
if (_warden) // if (_warden)
delete _warden; // delete _warden;
///- empty incoming packet queue ///- empty incoming packet queue
WorldPacket* packet = NULL; WorldPacket* packet = NULL;