1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Modified app startup code so that JUCEApplication::shutdown() will still get called even if the app is aborted during the initialise() method.

This commit is contained in:
jules 2015-04-14 11:30:25 +01:00
parent e0556acccc
commit 4af50da9f7
4 changed files with 29 additions and 17 deletions

View file

@ -232,7 +232,7 @@ int JUCEApplicationBase::main()
jassert (app != nullptr);
if (! app->initialiseApp())
return app->getApplicationReturnValue();
return app->shutdownApp();
JUCE_TRY
{