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

Made StreamingSocket::isListener member atomic

This commit is contained in:
ed 2019-08-05 09:57:56 +01:00
parent 8480d0110a
commit 34dc1eccda

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);