use a regular mutex instead of a recursive one + stop properly
This commit is contained in:
@ -154,7 +154,7 @@ namespace ix
|
||||
|
||||
// Underlying TCP socket
|
||||
std::shared_ptr<Socket> _socket;
|
||||
std::recursive_mutex _socketMutex;
|
||||
std::mutex _socketMutex;
|
||||
|
||||
// Hold the state of the connection (OPEN, CLOSED, etc...)
|
||||
std::atomic<ReadyState> _readyState;
|
||||
|
Reference in New Issue
Block a user