JUCE 6.0.3, OS X Mojave, Xcode
This seems a bug because it doesn’t matter if I have any project or plugin loaded into it or not.
This happens when I “run” the APH as an attached process to my plugin, but I have not actually instantiated my plug in.
- run the project, it launches the Audio Plugin Host in debug mode.
- double-click the Audio Output to open the Audio Settings.
- select some other midi output; I have about 8 of them.
- hits an assert at catch(…) “Your run() method mustn’t throw any exceptions!”:
void Thread::threadEntryPoint()
{
const CurrentThreadHolder::Ptr currentThreadHolder (getCurrentThreadHolder());
currentThreadHolder->value = this;
if (threadName.isNotEmpty())
setCurrentThreadName (threadName);
if (startSuspensionEvent.wait (10000))
{
jassert (getCurrentThreadId() == threadId.get());
if (affinityMask != 0)
setCurrentThreadAffinityMask (affinityMask);
try
{
run();
}
catch (...)
{
jassertfalse; // Your run() method mustn't throw any exceptions!
}
}
currentThreadHolder->value.releaseCurrentThreadStorage();
// Once closeThreadHandle is called this class may be deleted by a different
// thread, so we need to store deleteOnThreadEnd in a local variable.
auto shouldDeleteThis = deleteOnThreadEnd;
closeThreadHandle();
if (shouldDeleteThis)
delete this;
}