From 354cd9bea58737ad2fc59f809b9559f7436f486f Mon Sep 17 00:00:00 2001 From: Gregor Parzefall Date: Fri, 19 Apr 2024 22:35:49 +0200 Subject: [PATCH] Revert "Fix some Game members not being freed after some startup errors" This reverts commit be0ec8c5a691873b151e2d367f76ff82d5b159eb. --- src/client/game.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index 88a737780..4bd3d593d 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -4558,10 +4558,6 @@ void the_game(bool *kill, error_message = std::string("ModError: ") + e.what() + strgettext("\nCheck debug.txt for details."); errorstream << error_message << std::endl; - } catch (...) { - // Game::shutdown must always be called. - game.shutdown(); - throw; } game.shutdown(); }