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
1498 DependencyManager::get<ScriptEngines>()->shutdownScripting(); // stop all currently running global scripts1498 DependencyManager::get<ScriptEngines>()->shutdownScripting(); // stop all currently running global scripts
1499 DependencyManager::destroy<ScriptEngines>();1499 DependencyManager::destroy<ScriptEngines>();
1500 1500
1501 _displayPlugin.reset();
1502 PluginManager::getInstance()->shutdown();
1503
1501 // Cleanup all overlays after the scripts, as scripts might add more1504 // Cleanup all overlays after the scripts, as scripts might add more
1502 _overlays.cleanupAllOverlays();1505 _overlays.cleanupAllOverlays();
1503 1506