mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 04:45:32 +00:00
Wait for completion of CreateMapItem on exit to avoid potential threading issue
This commit is contained in:
parent
804f873649
commit
5f76317807
1 changed files with 3 additions and 0 deletions
|
@ -238,6 +238,9 @@ namespace MWRender
|
|||
removeCamera(*it);
|
||||
for (CameraVector::iterator it = mActiveCameras.begin(); it != mActiveCameras.end(); ++it)
|
||||
removeCamera(*it);
|
||||
|
||||
if (mWorkItem)
|
||||
mWorkItem->waitTillDone();
|
||||
}
|
||||
|
||||
void GlobalMap::render ()
|
||||
|
|
Loading…
Reference in a new issue