Lua task preempts long running scripts instead of killing them
Ported to EdgeTX from https://github.com/opentx/opentx/pull/8194
This commit is contained in:
@@ -177,7 +177,6 @@ bool displayTelemetryScreen()
|
||||
return false; // requested lua telemetry screen not available
|
||||
case SCRIPT_SYNTAX_ERROR:
|
||||
case SCRIPT_PANIC:
|
||||
case SCRIPT_KILLED:
|
||||
luaError(lsScripts, state, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user