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.
1 parent c0d45c3 commit 286a270Copy full SHA for 286a270
monarch/monarch.lua
@@ -354,8 +354,10 @@ local function unload(screen, force)
354
if screen.proxy then
355
log("unload() proxy", screen.id)
356
if screen.auto_preload and not force then
357
- msg.post(screen.proxy, DISABLE)
358
- screen.loaded = false
+ if screen.loaded then
+ msg.post(screen.proxy, DISABLE)
359
+ screen.loaded = false
360
+ end
361
screen.preloaded = true
362
else
363
screen.wait_for = PROXY_UNLOADED
0 commit comments