Procházet zdrojové kódy

fix furi_check failed when PvP game mode ends

Looks like when the PvP game ends, it returns to the lobby list. in the future, we should still free it before entering the game then re-allocate it in game_stop
jblanked před 9 měsíci
rodič
revize
3e2dfcd772
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      callback/callback.c

+ 1 - 1
callback/callback.c

@@ -1024,7 +1024,7 @@ static bool start_game_thread(void *context)
     // free everything but message_view
     free_variable_item_list(app);
     free_text_input_view(app);
-    free_submenu_other(app); // free lobby list or settings
+    // free_submenu_other(app); // free lobby list or settings
     free_view_loader(app);
     free_game_submenu(app);
     free_waiting_lobby_view(app);