Decrease the delay a bit in cancel_job_wait.

This commit is contained in:
Relintai 2021-10-31 12:12:48 +01:00
parent 59ba27f161
commit 0aa6ec8700

View File

@ -114,7 +114,7 @@ void ThreadPool::cancel_job_wait(Ref<ThreadPoolJob> job) {
job->set_cancelled(true);
while (_threads[i]->job == job) {
OS::get_singleton()->delay_usec(1000);
OS::get_singleton()->delay_usec(100);
}
return;