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