diff options
-rw-r--r-- | src/socket_base.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 718263f..fb387db 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -711,8 +711,6 @@ int xs::socket_base_t::recv (msg_t *msg_, int flags_) int xs::socket_base_t::close () { - sync.lock (); - // Mark the socket as dead. tag = 0xdeadbeef; @@ -721,7 +719,6 @@ int xs::socket_base_t::close () // process. send_reap (this); - sync.unlock (); return 0; } |