mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 00:02:20 +02:00
Merge pull request #15845 from SamGondelman/threadpool
BUGZ-861: Wait on QThreadPool threads on shutdown
This commit is contained in:
commit
417e02ac9d
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