]> git.tdb.fi Git - libs/core.git/commitdiff
terminate instead of rethrowing an uncaught exception
authorMikko Rasa <tdb@tdb.fi>
Mon, 27 Aug 2007 09:02:27 +0000 (09:02 +0000)
committerMikko Rasa <tdb@tdb.fi>
Mon, 27 Aug 2007 09:02:27 +0000 (09:02 +0000)
source/core/application.cpp

index 47c176bd8a882a6869df467e7330f2274bfcc5e4..0e0b69f28af4aa9686ff4e30fb593f8ea58ea635 100644 (file)
@@ -60,7 +60,7 @@ int Application::run(int argc, char **argv)
                cerr<<"  type:   "<<typeid(e).name()<<'\n';
                cerr<<"  what(): "<<e.what()<<'\n';
                delete app_;
-               throw;
+               terminate();
        }
 }