I’ve started running into a problem where I frequently get an assertion on line 233 of juce_Thread.cpp when shutting down an application.
bool Thread::stopThread (const int timeOutMilliseconds)
// ...
if (isThreadRunning())
{
// very bad karma if this point is reached, as there are bound to be
// locks and events left in silly states when a thread is killed by force..
jassertfalse; // <<--- here
The assertion comes often when I close the application, but not every time. The funny thing is that it seems to happen in any juce application, not just the one I’m working on. When I build an application from juce demo code and shut it down, I get the same thing. It wasn’t happening yesterday, and since it seems to work independently from my code, I have no idea how to diagnose it. Any suggestions?
