mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02: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 @@ LuaObject::LuaObject() :
|
||||
|
||||
LuaObject::~LuaObject()
|
||||
{
|
||||
assert(!g_app.isTerminated());
|
||||
#ifndef NDEBUG
|
||||
if(g_app.isTerminated())
|
||||
g_logger.warning("LuaObject reference not released");
|
||||
#endif
|
||||
releaseLuaFieldsTable();
|
||||
|
||||
if(m_metatableRef != -1) {
|
||||
|
Reference in New Issue
Block a user