1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Call Thread::stopThread() in NamedPipeThread's destructor to fix an assertion when running the NamedPipe unit tests

This commit is contained in:
ed 2019-03-29 15:29:51 +00:00
parent bd916b68e1
commit aa498afce2

View file

@ -207,6 +207,11 @@ private:
pipe.openExisting (pipeName);
}
~NamedPipeThread()
{
stopThread (100);
}
NamedPipe pipe;
const String& pipeName;
WaitableEvent& workCompleted;