Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -447,7 +447,7 @@ Application::~Application() { · 446 unmodified lines | |||
| 447 | Audio::SharedPointer audioIO = DependencyManager::get<Audio>(); | 447 | Audio::SharedPointer audioIO = DependencyManager::get<Audio>(); |
| 448 | 448 | ||
| 449 | // stop the audio process | 449 | // stop the audio process |
| 450 | QMetaObject::invokeMethod(audioIO.data(), "stop"); | 450 | QMetaObject::invokeMethod(audioIO.data(), "stop", Qt::BlockingQueuedConnection); |
| 451 | 451 | ||
| 452 | // ask the audio thread to quit and wait until it is done | 452 | // ask the audio thread to quit and wait until it is done |
| 453 | audioIO->thread()->quit(); | 453 | audioIO->thread()->quit(); |