Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all
Unified · Split
| @@ -372,6 +372,9 @@ Application::~Application() { · 371 unmodified lines | |||
| 372 | _nodeThread->quit(); | 372 | _nodeThread->quit(); |
| 373 | _nodeThread->wait(); | 373 | _nodeThread->wait(); |
| 374 | 374 | ||
| 375 | // stop the audio process | ||
| 376 | QMetaObject::invokeMethod(&_audio, "stop"); | ||
| 377 | |||
| 375 | // ask the audio thread to quit and wait until it is done | 378 | // ask the audio thread to quit and wait until it is done |
| 376 | _audio.thread()->quit(); | 379 | _audio.thread()->quit(); |
| 377 | _audio.thread()->wait(); | 380 | _audio.thread()->wait(); |