瀏覽代碼

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 月之前
父節點
當前提交
3e2dfcd772
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);