Przeglądaj źródła

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 9 miesięcy temu
rodzic
commit
3e2dfcd772
1 zmienionych plików z 1 dodań i 1 usunięć
  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);