- fixed two memory leaks.
This commit is contained in:
parent
169139c22c
commit
e8d7e0227b
2 changed files with 3 additions and 0 deletions
|
|
@ -372,7 +372,9 @@ void FLevelLocals::ClearLevelData(bool fullgc)
|
|||
Behaviors.UnloadModules();
|
||||
localEventManager->Shutdown();
|
||||
if (aabbTree) delete aabbTree;
|
||||
if (levelMesh) delete levelMesh;
|
||||
aabbTree = nullptr;
|
||||
levelMesh = nullptr;
|
||||
if (screen)
|
||||
screen->SetAABBTree(nullptr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue