Lower the time we wait for background threads to terminate.
This commit is contained in:
parent
dfa8dabc7e
commit
b97151e9b3
@ -141,10 +141,10 @@ BackgroundThread<InterfaceType>::~BackgroundThread() {
|
||||
w->Stop();
|
||||
|
||||
quit();
|
||||
if (wait(10000))
|
||||
if (wait(1000))
|
||||
return;
|
||||
terminate();
|
||||
wait(10000);
|
||||
wait(1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user