mirror of https://github.com/minetest/minetest.git
Revert "Fix some Game members not being freed after some startup errors"
This reverts commit be0ec8c5a6
.
This commit is contained in:
parent
be0ec8c5a6
commit
354cd9bea5
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue