From 5937a219dddb7be7f9588203db48b248ce8ee024 Mon Sep 17 00:00:00 2001 From: SamGondelman Date: Wed, 26 Jun 2019 15:25:17 -0700 Subject: [PATCH] wait on thread pool threads --- interface/src/Application.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index eba8664f72..1a0030bc12 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2712,6 +2712,7 @@ void Application::cleanupBeforeQuit() { // Clear any queued processing (I/O, FBX/OBJ/Texture parsing) QThreadPool::globalInstance()->clear(); + QThreadPool::globalInstance()->waitForDone(); DependencyManager::destroy();