I’m integrating WinSparkle into a JUCE app. The app has to close down a number of threads and internet connections potentially when it exits. And I need that to happen before the installer kicks off really.
So given that I have a call to JUCEApplication::quit() that happens on a non-message thread is there any easy way of blocking that thread until the app is pretty much ready to exit and the other threads are stopped. I can think of some hard ways…
