We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53c5a3b + 976cc36 commit 340bb39Copy full SHA for 340bb39
src/SCRIPTS/BF/ui.lua
@@ -74,6 +74,7 @@ local function invalidatePages()
74
Page = nil
75
currentState = pageStatus.display
76
saveTS = 0
77
+ collectgarbage()
78
end
79
80
local function rebootFc()
@@ -434,7 +435,7 @@ function run_ui(event)
434
435
436
local attr = (menuLine == i and INVERS or 0)
437
if event == EVT_VIRTUAL_ENTER and attr == INVERS then
- Page = assert(loadScript(SCRIPT_HOME.."/Pages/"..PageFiles[i].script))()
438
+ invalidatePages()
439
currentPage = i
440
441
0 commit comments