Browse Source

Minor NamedPipe tweak.

tags/2021-05-28
jules 13 years ago
parent
commit
bfcc0dd7a5
2 changed files with 1 additions and 3 deletions
  1. +1
    -0
      modules/juce_core/native/juce_posix_NamedPipe.cpp
  2. +0
    -3
      modules/juce_events/interprocess/juce_InterprocessConnection.cpp

+ 1
- 0
modules/juce_core/native/juce_posix_NamedPipe.cpp View File

@@ -169,6 +169,7 @@ void NamedPipe::cancelPendingReads()
void NamedPipe::close()
{
cancelPendingReads();
ScopedPointer<Pimpl> deleter (pimpl); // (clears the pimpl member variable before deleting it)
}


+ 0
- 3
modules/juce_events/interprocess/juce_InterprocessConnection.cpp View File

@@ -106,10 +106,7 @@ void InterprocessConnection::disconnect()
socket->close();
if (pipe != nullptr)
{
pipe->cancelPendingReads();
pipe->close();
}
stopThread (4000);


Loading…
Cancel
Save