mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-24 18:39:59 +00:00
Clear the ViewData on exit
This commit is contained in:
parent
bb991850da
commit
99e18f0d68
@ -235,6 +235,11 @@ QuadTreeWorld::~QuadTreeWorld()
|
||||
mWorkItem->abort();
|
||||
mWorkItem->waitTillDone();
|
||||
}
|
||||
|
||||
if (mRootNode && mRootNode->getViewDataMap())
|
||||
{
|
||||
mRootNode->getViewDataMap()->clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user