ELF-loader: wait for notification to complete on app exit (#2335)

This commit is contained in:
Sergey Gavrilov
2023-01-25 12:15:01 +07:00
committed by GitHub
parent a0814aab31
commit 709fa633ff
2 changed files with 12 additions and 2 deletions

View File

@@ -394,8 +394,8 @@ int32_t snake_game_app(void* p) {
release_mutex(&state_mutex, snake_state);
}
// Wait for all notifications to be played and return backlight to normal state
notification_message_block(notification, &sequence_display_backlight_enforce_auto);
// Return backlight to normal state
notification_message(notification, &sequence_display_backlight_enforce_auto);
furi_timer_free(timer);
view_port_enabled_set(view_port, false);