give network thread some more time to shut down
authorChristian Pulvermacher <pulvermacher@gmx.de>
Sat, 4 Feb 2012 11:34:05 +0000 (12:34 +0100)
committerChristian Pulvermacher <pulvermacher@gmx.de>
Sat, 4 Feb 2012 11:34:05 +0000 (12:34 +0100)
src/vncclientthread.cpp

index a3f7bd9..8cad521 100644 (file)
@@ -174,7 +174,7 @@ VncClientThread::~VncClientThread()
 {
     stop();
 
 {
     stop();
 
-    const bool quitSuccess = wait(1000);
+    const bool quitSuccess = wait(4000);
 
     if(!quitSuccess)
         kDebug(5011) << "~VncClientThread(): Quit failed";
 
     if(!quitSuccess)
         kDebug(5011) << "~VncClientThread(): Quit failed";