My application is set up so that various settings are saved to a properties file when the app is shut down.
However, JUCE does not currently catch the WM_ENDSESSION message, so my application is not told that Windows is shutting down or restarting and the settings are not saved.
I found a workaround for this for the time being, but it seems that a good idea for the main JUCE window handler to catch this message and tell the application to quit.
Matt