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

@@ -120,7 +120,7 @@ bool desktop_scene_main_on_event(void* context, SceneManagerEvent event) {
break;
case DesktopMainEventOpenPowerOff: {
loader_start(desktop->loader, "Power", "off", NULL);
loader_start_detached_with_gui_error(desktop->loader, "Power", "off");
consumed = true;
break;
}