mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 14:46:55 +02:00
fix audio-mixer shutdown on UNIX/OS X
This commit is contained in:
parent
fec8318cfa
commit
a77cf4fb7f
1 changed files with 3 additions and 1 deletions
|
@ -852,9 +852,11 @@ void AudioMixer::run() {
|
|||
|
||||
// since we're a while loop we need to help Qt's event processing
|
||||
QCoreApplication::processEvents();
|
||||
QCoreApplication::sendPostedEvents(this, 0);
|
||||
|
||||
if (_isFinished) {
|
||||
// at this point the audio-mixer is done
|
||||
// check if we have a deferred delete event to process (which we should once finished)
|
||||
QCoreApplication::sendPostedEvents(this, QEvent::DeferredDelete);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue