diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 449b014c13..6f9a9f1128 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2093,6 +2093,11 @@ void Application::cleanupBeforeQuit() { DependencyManager::destroy(); DependencyManager::destroy(); + // 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(); + DependencyManager::destroy(); + qCDebug(interfaceapp) << "Application::cleanupBeforeQuit() complete"; }