Răsfoiți Sursa

cmake-gui: Wait for configure/generate thread to complete before exiting.

A prevous fix to interrupt granularity makes it so we don't have to wait very long.
Clinton Stimpson 13 ani în urmă
părinte
comite
2c050a2e11
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/QtDialog/CMakeSetupDialog.cxx

+ 1 - 1
Source/QtDialog/CMakeSetupDialog.cxx

@@ -288,7 +288,7 @@ CMakeSetupDialog::~CMakeSetupDialog()
 
   // wait for thread to stop
   this->CMakeThread->quit();
-  this->CMakeThread->wait(2000);
+  this->CMakeThread->wait();
 }
 
 bool CMakeSetupDialog::prepareConfigure()