mirror of
https://github.com/britzl/monarch.git
synced 2025-06-27 10:27:49 +02:00
Make sure to force unload a preloaded screen
This commit is contained in:
parent
286a270a1c
commit
6fe59c92c4
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user