Prevent Lua from allocating all heap memory (Horus) (#4440)
* Fixes #4284: Prevent Lua from allocating all heap memory (Horus) Lua bitmap functions cleanup and docs update Added x or y < 0 check to drawBitmap() * Proper float constant
This commit is contained in:
committed by
Bertrand Songis
parent
be61e07939
commit
e80c4c858e
@@ -519,6 +519,7 @@ void luaInitThemesAndWidgets()
|
||||
// if we got panic during registration
|
||||
// we disable Lua for this session
|
||||
// luaDisable();
|
||||
luaClose(&lsWidgets);
|
||||
lsWidgets = 0;
|
||||
}
|
||||
UNPROTECT_LUA();
|
||||
|
||||
Reference in New Issue
Block a user