From f78c1cb5d08cd4719e62c596ad5b6b138f4d2656 Mon Sep 17 00:00:00 2001 From: amerhifi Date: Fri, 12 Jul 2019 10:54:08 -0700 Subject: [PATCH] reverting display plugin reset change --- interface/src/Application.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index abcafd5a3e..e09819c11c 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2772,6 +2772,7 @@ void Application::cleanupBeforeQuit() { DependencyManager::get()->removeAccountFromFile(); } + _displayPlugin.reset(); PluginManager::getInstance()->shutdown(); // Cleanup all overlays after the scripts, as scripts might add more @@ -2806,11 +2807,8 @@ void Application::cleanupBeforeQuit() { DependencyManager::destroy(); DependencyManager::destroy(); DependencyManager::destroy(); - DependencyManager::destroy(); - _displayPlugin.reset(); - _snapshotSoundInjector = nullptr; // destroy Audio so it and its threads have a chance to go down safely