소스 검색

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);