mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 04:06:23 +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:
@@ -33,7 +33,10 @@ Protocol::Protocol()
|
||||
|
||||
Protocol::~Protocol()
|
||||
{
|
||||
assert(!g_app.isTerminated());
|
||||
#ifndef NDEBUG
|
||||
if(g_app.isTerminated())
|
||||
g_logger.warning("Protocol reference not released");
|
||||
#endif
|
||||
disconnect();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user