From 2c050a2e11afe41c89bae8075f8a55bae0e8244e Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Mon, 30 Apr 2012 13:12:16 -0600 Subject: [PATCH] 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. --- Source/QtDialog/CMakeSetupDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx index 45b4cd3c5..5cd4f29dd 100644 --- a/Source/QtDialog/CMakeSetupDialog.cxx +++ b/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()