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()
|
AudioProcessor::~AudioProcessor()
|
||||||
{
|
{
|
||||||
doWork_ = false;
|
doWork_ = false;
|
||||||
|
inputEvent_.notify_all();
|
||||||
worker_.join();
|
worker_.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue