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 | 372 | _nodeThread->quit(); |
| 373 | 373 | _nodeThread->wait(); |
| 374 | 374 | |
| 375 | + // stop the audio process | |
| 376 | + QMetaObject::invokeMethod(&_audio, "stop"); | |
| 377 | + | |
| 375 | 378 | // ask the audio thread to quit and wait until it is done |
| 376 | 379 | _audio.thread()->quit(); |
| 377 | 380 | _audio.thread()->wait(); |