mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 00:39:30 +00:00
Unload Lua data on exit
This commit is contained in:
parent
df4ce7ba14
commit
589d7a68a8
1 changed files with 3 additions and 0 deletions
|
|
@ -48,6 +48,9 @@ int main() {
|
||||||
// Do the actual thing
|
// Do the actual thing
|
||||||
if (luaL_dofile(L, BOOT_FILE)) error(luaL_checkstring(L, -1));
|
if (luaL_dofile(L, BOOT_FILE)) error(luaL_checkstring(L, -1));
|
||||||
|
|
||||||
|
// Unload Lua
|
||||||
|
lua_close(L);
|
||||||
|
|
||||||
// Unload current font
|
// Unload current font
|
||||||
unload_font_lib();
|
unload_font_lib();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue