more BlockingTCPTransportCodec::close() wait for threads
can't wait here as locks are held
This commit is contained in:
@@ -1032,12 +1032,6 @@ void BlockingTCPTransportCodec::close() {
|
||||
|
||||
// post close
|
||||
internalPostClose(true);
|
||||
|
||||
// wait for threads
|
||||
if(!_sendThread.isCurrentThread())
|
||||
_sendThread.exitWait();
|
||||
if(!_readThread.isCurrentThread())
|
||||
_readThread.exitWait();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user