Lua: Use incremental GC and also call it for Widgets (#4369)
Fixes #3885: Error in Lua Widget options handled better (does not disable entire Lua state) Disable Lua Widget if any of its functions has error.
This commit is contained in:
committed by
Bertrand Songis
parent
d594843de2
commit
b493973d7d
@@ -21,13 +21,13 @@
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include "opentx.h"
|
||||
#include "lua/lua_api.h"
|
||||
#include "lua_api.h"
|
||||
#include "timers.h"
|
||||
|
||||
/*luadoc
|
||||
@function model.getInfo()
|
||||
|
||||
Get current Model information
|
||||
Get current Model information
|
||||
|
||||
@retval table model information:
|
||||
* `name` (string) model name
|
||||
|
||||
Reference in New Issue
Block a user