Browse Source

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

tags/2021-05-28
ed 6 years ago
parent
commit
aa498afce2
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      modules/juce_core/network/juce_NamedPipe.cpp

+ 5
- 0
modules/juce_core/network/juce_NamedPipe.cpp View File

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


Loading…
Cancel
Save