I noticed a change of behaviour or recent JUCE builds with respect to JUCEApplication::shutdown()
shutdown() used to be called even when I was calling JUCEApplication::quit() from the JUCEApplication::initialise() function. But it is no more.
It seems to me that the old behaviour was more logical.
This change of behaviour is a consequence of a change to 'JUCEApplicationBase::initialiseApp' (previously JUCEApplication::initialiseApp) which is now returning 'false' when it detects that a quit() message has been posted.