summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Savochenko <roman@roman.home>2019-08-30 19:48:16 +0300
committerRoman Savochenko <roman@roman.home>2019-08-30 19:48:16 +0300
commitaece7d56acb69f908866a93f2abaa17c9c401239 (patch)
tree346bc77f80098f7115e9b2172e8f5378a4fecc5f
parent6142d389db44b781e36399fe7c477c4879c0924b (diff)
downloadlibtdevnc-bug/2972/KrfbCloseCrash.tar.gz
libtdevnc-bug/2972/KrfbCloseCrash.zip
krfb: Crashes after the VNC client disconnectbug/2972/KrfbCloseCrash
This resolves bug 2972 and issue #2 Signed-off-by: Roman Savochenko <roman@roman.home>
-rw-r--r--libvncserver/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c
index 74010d0..890d758 100644
--- a/libvncserver/main.c
+++ b/libvncserver/main.c
@@ -1103,14 +1103,14 @@ void rfbScreenCleanup(rfbScreenInfoPtr screen)
rfbReleaseClientIterator(i);
if (mOnHoldClientHandlerThread) {
- mOnHoldClientHandlerThread->exit();
+ //mOnHoldClientHandlerThread->exit();
delete mOnHoldClientHandlerThread;
mOnHoldClientHandlerThread = NULL;
delete mOnHoldClientHandler;
mOnHoldClientHandler = NULL;
}
if (mControlPipeHandlerThread) {
- mControlPipeHandlerThread->exit();
+ //mControlPipeHandlerThread->exit();
delete mControlPipeHandlerThread;
mControlPipeHandlerThread = NULL;
delete mControlPipeHandler;