mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 04:45:34 +00:00
Notify workers when only at least one job is posted
This commit is contained in:
parent
b9b8ed177c
commit
82e2739bae
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,8 @@ namespace DetourNavigator
|
|||
|
||||
log("posted ", mJobs.size(), " jobs");
|
||||
|
||||
mHasJob.notify_all();
|
||||
if (!mJobs.empty())
|
||||
mHasJob.notify_all();
|
||||
}
|
||||
|
||||
void AsyncNavMeshUpdater::wait()
|
||||
|
|
Loading…
Reference in a new issue