mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 20:48:56 +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<ScriptCache>();
|
||||||
DependencyManager::destroy<SoundCache>();
|
DependencyManager::destroy<SoundCache>();
|
||||||
DependencyManager::destroy<OctreeStatsProvider>();
|
DependencyManager::destroy<OctreeStatsProvider>();
|
||||||
|
DependencyManager::destroy<GeometryCache>();
|
||||||
|
|
||||||
DependencyManager::get<ResourceManager>()->cleanup();
|
DependencyManager::get<ResourceManager>()->cleanup();
|
||||||
|
|
||||||
|
|
|
@ -50,8 +50,6 @@ ApplicationOverlay::~ApplicationOverlay() {
|
||||||
geometryCache->releaseID(_magnifierBorder);
|
geometryCache->releaseID(_magnifierBorder);
|
||||||
geometryCache->releaseID(_qmlGeometryId);
|
geometryCache->releaseID(_qmlGeometryId);
|
||||||
}
|
}
|
||||||
|
|
||||||
DependencyManager::destroy<GeometryCache>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Renders the overlays either to a texture or to the screen
|
// Renders the overlays either to a texture or to the screen
|
||||||
|
|
Loading…
Reference in a new issue