mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Returning correct app failure codes if the app quits before finishing initialisation.
This commit is contained in:
parent
4604767220
commit
de1d07090a
2 changed files with 2 additions and 2 deletions
|
|
@ -232,7 +232,7 @@ int JUCEApplicationBase::main()
|
|||
jassert (app != nullptr);
|
||||
|
||||
if (! app->initialiseApp())
|
||||
return 0;
|
||||
return app->getApplicationReturnValue();
|
||||
|
||||
JUCE_TRY
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue