Wait for completion of CreateMapItem on exit to avoid potential threading issue

pull/185/head
scrawl 8 years ago
parent 804f873649
commit 5f76317807

@ -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…
Cancel
Save