Fix freeze on application close
This commit is contained in:
parent
bb2bae8883
commit
e8877ff065
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ AudioProcessor::AudioProcessor(const QAudioFormat& format,
|
|||
AudioProcessor::~AudioProcessor()
|
||||
{
|
||||
doWork_ = false;
|
||||
inputEvent_.notify_all();
|
||||
worker_.join();
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue