diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 6d8e2a31af..9ce2b0cb2e 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2763,7 +2763,6 @@ void Application::cleanupBeforeQuit() { // this must happen after QML, as there are unexplained audio crashes originating in qtwebengine QMetaObject::invokeMethod(DependencyManager::get().data(), "stop"); DependencyManager::destroy(); - DependencyManager::destroy(); DependencyManager::destroy(); // The PointerManager must be destroyed before the PickManager because when a Pointer is deleted, @@ -2823,6 +2822,7 @@ Application::~Application() { DependencyManager::destroy(); + DependencyManager::destroy(); DependencyManager::destroy(); DependencyManager::destroy(); DependencyManager::destroy();