Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2093,6 +2093,11 @@ void Application::cleanupBeforeQuit() { · 2092 unmodified lines | |||
| 2093 | DependencyManager::destroy<AudioInjectorManager>(); | 2093 | DependencyManager::destroy<AudioInjectorManager>(); |
| 2094 | DependencyManager::destroy<AudioScriptingInterface>(); | 2094 | DependencyManager::destroy<AudioScriptingInterface>(); |
| 2095 | 2095 | ||
| 2096 | // The PointerManager must be destroyed before the PickManager because when a Pointer is deleted, | ||
| 2097 | // it accesses the PickManager to delete its associated Pick | ||
| 2098 | DependencyManager::destroy<PointerManager>(); | ||
| 2099 | DependencyManager::destroy<PickManager>(); | ||
| 2100 | |||
| 2096 | qCDebug(interfaceapp) << "Application::cleanupBeforeQuit() complete"; | 2101 | qCDebug(interfaceapp) << "Application::cleanupBeforeQuit() complete"; |
| 2097 | } | 2102 | } |
| 2098 | 2103 | ||