mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
Destroy GeometryCache explicitly in Application destructor
This commit is contained in:
parent
8cbe5e4541
commit
9dc03f5013
2 changed files with 1 additions and 2 deletions
|
@ -2565,6 +2565,7 @@ Application::~Application() {
|
|||
DependencyManager::destroy<ScriptCache>();
|
||||
DependencyManager::destroy<SoundCache>();
|
||||
DependencyManager::destroy<OctreeStatsProvider>();
|
||||
DependencyManager::destroy<GeometryCache>();
|
||||
|
||||
DependencyManager::get<ResourceManager>()->cleanup();
|
||||
|
||||
|
|
|
@ -50,8 +50,6 @@ ApplicationOverlay::~ApplicationOverlay() {
|
|||
geometryCache->releaseID(_magnifierBorder);
|
||||
geometryCache->releaseID(_qmlGeometryId);
|
||||
}
|
||||
|
||||
DependencyManager::destroy<GeometryCache>();
|
||||
}
|
||||
|
||||
// Renders the overlays either to a texture or to the screen
|
||||
|
|
Loading…
Reference in a new issue