mirror of
https://github.com/edubart/otclient.git
synced 2025-12-17 06:07:11 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user