mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 11:53:28 +02:00
destroy pointermanager before pickmanager
This commit is contained in:
parent
3879626205
commit
c3eb4b5ecd
1 changed files with 5 additions and 0 deletions
|
@ -2093,6 +2093,11 @@ void Application::cleanupBeforeQuit() {
|
|||
DependencyManager::destroy<AudioInjectorManager>();
|
||||
DependencyManager::destroy<AudioScriptingInterface>();
|
||||
|
||||
// The PointerManager must be destroyed before the PickManager because when a Pointer is deleted,
|
||||
// it accesses the PickManager to delete its associated Pick
|
||||
DependencyManager::destroy<PointerManager>();
|
||||
DependencyManager::destroy<PickManager>();
|
||||
|
||||
qCDebug(interfaceapp) << "Application::cleanupBeforeQuit() complete";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue