forked from teamnwah/openmw-tes3coop
Clear the ViewData on exit
This commit is contained in:
parent
bb991850da
commit
99e18f0d68
1 changed files with 5 additions and 0 deletions
|
@ -235,6 +235,11 @@ QuadTreeWorld::~QuadTreeWorld()
|
|||
mWorkItem->abort();
|
||||
mWorkItem->waitTillDone();
|
||||
}
|
||||
|
||||
if (mRootNode && mRootNode->getViewDataMap())
|
||||
{
|
||||
mRootNode->getViewDataMap()->clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue