History

destroy WebSurfaces on shutdown

Andrew Meadows committed 7 years ago

Commit eee52de1 parent 453085f5 files · +34 −18Browse files

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

Unified · Split

interface/src/Application.cpp+1−0
@@ -2708,6 +2708,7 @@ void Application::cleanupBeforeQuit() { · 2707 unmodified lines
2708 }2708 }
2709 2709
2710 getEntities()->shutdown(); // tell the entities system we're shutting down, so it will stop running scripts2710 getEntities()->shutdown(); // tell the entities system we're shutting down, so it will stop running scripts
2711 getEntities()->clear();
2711 2712
2712 // Clear any queued processing (I/O, FBX/OBJ/Texture parsing)2713 // Clear any queued processing (I/O, FBX/OBJ/Texture parsing)
2713 QThreadPool::globalInstance()->clear();2714 QThreadPool::globalInstance()->clear();