mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 04:06:23 +01:00
Fix market reload and a crash when exiting
This commit is contained in:
@@ -34,8 +34,7 @@ Protocol::Protocol()
|
||||
Protocol::~Protocol()
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
if(g_app.isTerminated())
|
||||
g_logger.warning("Protocol reference not released");
|
||||
assert(!g_app.isTerminated());
|
||||
#endif
|
||||
disconnect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user