Browse Source

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 years ago
parent
commit
2c050a2e11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/QtDialog/CMakeSetupDialog.cxx

+ 1 - 1
Source/QtDialog/CMakeSetupDialog.cxx

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