X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux.cpp;h=81856f6e638e6778afad4a15a3e975ca94e42fe5;hb=6f988a2dfbe4de1096a5ca6a4b30e7fc5355316c;hp=23a3fcf214eaa89a8b21e8576a2216f09e8b7e68;hpb=1c924935a8b61468d6f57ba62f3f9e76fe41d2eb;p=supertux.git diff --git a/src/supertux.cpp b/src/supertux.cpp index 23a3fcf21..81856f6e6 100644 --- a/src/supertux.cpp +++ b/src/supertux.cpp @@ -25,7 +25,6 @@ #include #include -#include "utils/exceptions.h" #include "defines.h" #include "app/globals.h" #include "app/setup.h" @@ -39,7 +38,6 @@ #include "video/surface.h" #include "tile_manager.h" #include "app/gettext.h" -#include "player.h" #include "misc.h" #include "utils/configfile.h" @@ -95,14 +93,11 @@ int main(int argc, char * argv[]) unloadshared(); Setup::general_free(); st_menu_free(); - TileManager::destroy_instance(); #ifdef DEBUG Surface::debug_check(); #endif Termination::shutdown(); #ifndef DEBUG // we want to see the backtrace in gdb when in debug mode - } catch (SuperTuxException &e) { - std::cerr << "Unhandled SuperTux exception:\n " << e.what_file() << ":" << e.what_line() << ": " << e.what() << std::endl; } catch (std::exception &e) { std:: cerr << "Unhandled exception: " << e.what() << std::endl; }