mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02:00
Fix market reload and a crash when exiting
This commit is contained in:
@@ -34,8 +34,7 @@ LuaObject::LuaObject() :
|
||||
LuaObject::~LuaObject()
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
if(g_app.isTerminated())
|
||||
g_logger.warning("LuaObject reference not released");
|
||||
assert(!g_app.isTerminated());
|
||||
#endif
|
||||
releaseLuaFieldsTable();
|
||||
|
||||
|
Reference in New Issue
Block a user