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
27082708 }
27092709
27102710 getEntities()->shutdown(); // tell the entities system we're shutting down, so it will stop running scripts
2711+ getEntities()->clear();
27112712
27122713 // Clear any queued processing (I/O, FBX/OBJ/Texture parsing)
27132714 QThreadPool::globalInstance()->clear();