Browse Source

Made StreamingSocket::isListener member atomic

tags/2021-05-28
ed 5 years ago
parent
commit
34dc1eccda
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      modules/juce_core/network/juce_Socket.h

+ 1
- 2
modules/juce_core/network/juce_Socket.h View File

@@ -180,8 +180,7 @@ private:
//==============================================================================
String hostName;
std::atomic<int> portNumber { 0 }, handle { -1 };
std::atomic<bool> connected { false };
bool isListener = false;
std::atomic<bool> connected { false }, isListener { false };
mutable CriticalSection readLock;
StreamingSocket (const String& hostname, int portNumber, int handle);


Loading…
Cancel
Save