Implement message modes for 9.6

Fix possible crash when closing otclient
Fix private messages
Fix messages in 9.6
This commit is contained in:
Eduardo Bart
2012-07-30 09:29:13 -03:00
parent 1281b04a6a
commit 59b6abfa09
22 changed files with 95 additions and 42 deletions

View File

@@ -97,6 +97,9 @@ void Application::deinit()
// poll remaining events
poll();
// disable dispatcher events
g_dispatcher.shutdown();
}
void Application::terminate()
@@ -115,9 +118,6 @@ void Application::terminate()
// terminate script environment
g_lua.terminate();
// flush remaining dispatcher events
g_dispatcher.flush();
m_terminated = true;
}