fix(lua): ignore potential unwanted key events (#4833)

This commit is contained in:
philmoz
2024-04-02 10:52:17 +10:00
committed by GitHub
parent 9357e2d8b8
commit 0d84acef59
2 changed files with 11 additions and 1 deletions
+1
View File
@@ -1191,6 +1191,7 @@ static bool resumeLua(bool init, bool allowLcdUsage)
if (scriptResult != 0) {
TRACE("Script finished with status %d", scriptResult);
killAllEvents();
luaState = INTERPRETER_RELOAD_PERMANENT_SCRIPTS;
}
else if (luaDisplayStatistics) {