more BlockingTCPTransportCodec::close() wait for threads

can't wait here as locks are held
This commit is contained in:
Michael Davidsaver
2017-06-02 12:30:40 +02:00
parent 8859c4d471
commit 11cc395baf

View File

@@ -1032,12 +1032,6 @@ void BlockingTCPTransportCodec::close() {
// post close
internalPostClose(true);
// wait for threads
if(!_sendThread.isCurrentThread())
_sendThread.exitWait();
if(!_readThread.isCurrentThread())
_readThread.exitWait();
}
}