History

wait on thread pool threads

SamGondelman committed 7 years ago

Commit 5937a211 parent b96db751 file · +1 −0Browse files

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

Unified · Split

interface/src/Application.cpp+1−0
@@ -2712,6 +2712,7 @@ void Application::cleanupBeforeQuit() { · 2711 unmodified lines
2712 2712
2713 // Clear any queued processing (I/O, FBX/OBJ/Texture parsing)2713 // Clear any queued processing (I/O, FBX/OBJ/Texture parsing)
2714 QThreadPool::globalInstance()->clear();2714 QThreadPool::globalInstance()->clear();
2715 QThreadPool::globalInstance()->waitForDone();
2715 2716
2716 DependencyManager::destroy<RecordingScriptingInterface>();2717 DependencyManager::destroy<RecordingScriptingInterface>();
2717 2718