1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Unload Lua data on exit

This commit is contained in:
Reuh 2015-08-19 17:59:13 +02:00
parent df4ce7ba14
commit 589d7a68a8

View file

@ -48,6 +48,9 @@ int main() {
// Do the actual thing
if (luaL_dofile(L, BOOT_FILE)) error(luaL_checkstring(L, -1));
// Unload Lua
lua_close(L);
// Unload current font
unload_font_lib();