Lower the time we wait for background threads to terminate.

This commit is contained in:
David Sansome 2010-04-14 12:43:13 +00:00
parent dfa8dabc7e
commit b97151e9b3

View File

@ -141,10 +141,10 @@ BackgroundThread<InterfaceType>::~BackgroundThread() {
w->Stop();
quit();
if (wait(10000))
if (wait(1000))
return;
terminate();
wait(10000);
wait(1000);
}
}