The JUCE_CATCH_EXCEPTION
macro silently “swallows” an exception if JUCEApplicationBase::getInstance()
is null. Wouldn’t it be better to re-throw in this case? For example, I imagine it could be null when running as a plug-in.
This is the code in question.