chores: update to LUA 5.3 (#4203)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
co-authored by
Peter Feerick
philmoz
parent
28b0cb9e71
commit
47cba2211f
@@ -73,6 +73,10 @@
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#if defined(LUA)
|
||||
#include "lua/lua_states.h"
|
||||
#endif
|
||||
|
||||
RadioData g_eeGeneral;
|
||||
ModelData g_model;
|
||||
|
||||
@@ -1085,10 +1089,6 @@ void edgeTxClose(uint8_t shutdown)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(LUA)
|
||||
luaClose(&lsScripts);
|
||||
#endif
|
||||
|
||||
logsClose();
|
||||
|
||||
storageFlushCurrentModel();
|
||||
@@ -1112,11 +1112,13 @@ void edgeTxClose(uint8_t shutdown)
|
||||
MainWindow::instance()->shutdown();
|
||||
#if defined(LUA)
|
||||
luaUnregisterWidgets();
|
||||
luaClose(&lsWidgets);
|
||||
lsWidgets = 0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(LUA)
|
||||
luaClose();
|
||||
#endif
|
||||
|
||||
sdDone();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user