History

Additional plugin debugging, better plugin resource cleanup

Brad Davis committed 10 years ago

Commit 28771cb1 parent 5615f8829 files · +135 −54Browse files

Showing the changes to interface/src/Application.cpp (1 of 29 files). Show all

Unified · Split

interface/src/Application.cpp+3−0
@@ -1498,6 +1498,9 @@ void Application::cleanupBeforeQuit() { · 1497 unmodified lines
14981498 DependencyManager::get<ScriptEngines>()->shutdownScripting(); // stop all currently running global scripts
14991499 DependencyManager::destroy<ScriptEngines>();
15001500
1501+ _displayPlugin.reset();
1502+ PluginManager::getInstance()->shutdown();
1503+
15011504 // Cleanup all overlays after the scripts, as scripts might add more
15021505 _overlays.cleanupAllOverlays();
15031506