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:
parent
bd916b68e1
commit
aa498afce2
1 changed files with 5 additions and 0 deletions
|
|
@ -207,6 +207,11 @@ private:
|
|||
pipe.openExisting (pipeName);
|
||||
}
|
||||
|
||||
~NamedPipeThread()
|
||||
{
|
||||
stopThread (100);
|
||||
}
|
||||
|
||||
NamedPipe pipe;
|
||||
const String& pipeName;
|
||||
WaitableEvent& workCompleted;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue