mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
reverting display plugin reset change
This commit is contained in:
parent
15e7663ed5
commit
f78c1cb5d0
1 changed files with 1 additions and 3 deletions
|
@ -2772,6 +2772,7 @@ void Application::cleanupBeforeQuit() {
|
|||
DependencyManager::get<AccountManager>()->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<TabletScriptingInterface>();
|
||||
DependencyManager::destroy<ToolbarScriptingInterface>();
|
||||
DependencyManager::destroy<OffscreenUi>();
|
||||
|
||||
DependencyManager::destroy<OffscreenQmlSurfaceCache>();
|
||||
|
||||
_displayPlugin.reset();
|
||||
|
||||
_snapshotSoundInjector = nullptr;
|
||||
|
||||
// destroy Audio so it and its threads have a chance to go down safely
|
||||
|
|
Loading…
Reference in a new issue