3
0
mirror of https://github.com/britzl/monarch.git synced 2025-06-27 02:17:53 +02:00

Make sure to force unload a preloaded screen

This commit is contained in:
Björn Ritzl 2022-07-23 00:09:51 +02:00
parent 286a270a1c
commit 6fe59c92c4

View File

@ -1087,7 +1087,7 @@ function M.unload(id, cb)
end end
run_coroutine(screen, when_unloaded, function() run_coroutine(screen, when_unloaded, function()
change_context(screen) change_context(screen)
unload(screen) unload(screen, true)
end) end)
end) end)
return true -- return true for legacy reasons (before queue existed) return true -- return true for legacy reasons (before queue existed)