From 44212ee03b5fb74809decb89cb98e3fc2a86e928 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 4 Dec 2017 17:28:01 +0100 Subject: [client] Fix deletion of QThread while still running --- src/client/vnc/vncthread.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/client/vnc/vncthread.cpp') diff --git a/src/client/vnc/vncthread.cpp b/src/client/vnc/vncthread.cpp index b710a2c..cafdace 100644 --- a/src/client/vnc/vncthread.cpp +++ b/src/client/vnc/vncthread.cpp @@ -202,8 +202,6 @@ void VncThread::run() while (_run) this->msleep(100); qDebug("[%s] VNC client stopped.", metaObject()->className()); - this->deleteLater(); - QThread::run(); } /** -- cgit v1.2.3-55-g7522