Desktop: Fix early animation unload deadlocks

This commit is contained in:
Willy-JL
2024-04-05 01:48:35 +01:00
parent 15e578599e
commit 6aac86a3d8
3 changed files with 8 additions and 16 deletions

View File

@@ -86,7 +86,7 @@ bool desktop_scene_locked_on_event(void* context, SceneManagerEvent event) {
switch(event.event) {
case DesktopLockedEventOpenPowerOff: {
if(momentum_settings.lockscreen_poweroff) {
loader_start(desktop->loader, "Power", "off", NULL);
loader_start_detached_with_gui_error(desktop->loader, "Power", "off");
}
consumed = true;
break;