mirror of
https://github.com/lubosz/overte.git
synced 2025-04-17 17:26:11 +02:00
wait on thread pool threads
This commit is contained in:
parent
b96db7517c
commit
5937a219dd
1 changed files with 1 additions and 0 deletions
|
@ -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<RecordingScriptingInterface>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue