From 11cc395bafb5c47ffecade21758b8e333d63aaac Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Fri, 2 Jun 2017 12:30:40 +0200 Subject: [PATCH] more BlockingTCPTransportCodec::close() wait for threads can't wait here as locks are held --- src/remote/codec.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/remote/codec.cpp b/src/remote/codec.cpp index 6889761..0b586c5 100644 --- a/src/remote/codec.cpp +++ b/src/remote/codec.cpp @@ -1032,12 +1032,6 @@ void BlockingTCPTransportCodec::close() { // post close internalPostClose(true); - - // wait for threads - if(!_sendThread.isCurrentThread()) - _sendThread.exitWait(); - if(!_readThread.isCurrentThread()) - _readThread.exitWait(); } }