Entity Script Server memory leak when taking down EntityTree
Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 5 files). Show all
Unified · Split
| @@ -571,6 +571,8 @@ void EntityScriptServer::aboutToFinish() { · 570 unmodified lines | ||
| 571 | 571 | entityScriptingInterface->setPacketSender(nullptr); |
| 572 | 572 | } |
| 573 | 573 | |
| 574 | + DependencyManager::destroy<AssignmentParentFinder>(); | |
| 575 | + | |
| 574 | 576 | DependencyManager::get<ResourceManager>()->cleanup(); |
| 575 | 577 | |
| 576 | 578 | DependencyManager::destroy<PluginManager>(); |