[11001] Fixed crashes in ACE network code.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Thanks to kero99 for pointing to patch and testing.
This commit is contained in:
Derex 2011-01-13 04:21:57 +03:00 committed by VladimirMangos
parent d38539f12a
commit f1283b489d
3 changed files with 4 additions and 1 deletions

View file

@ -445,6 +445,7 @@ int WorldSocket::handle_close (ACE_HANDLE h, ACE_Reactor_Mask)
m_Session = NULL;
}
reactor()->remove_handler(this, ACE_Event_Handler::DONT_CALL | ACE_Event_Handler::ALL_EVENTS_MASK);
return 0;
}