Jelajahi Sumber

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 10 bulan lalu
induk
melakukan
3e2dfcd772
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);