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
27122712
27132713 // Clear any queued processing (I/O, FBX/OBJ/Texture parsing)
27142714 QThreadPool::globalInstance()->clear();
2715+ QThreadPool::globalInstance()->waitForDone();
27152716
27162717 DependencyManager::destroy<RecordingScriptingInterface>();
27172718