Fixed a bug where switching between crossfade and gapless transport could cause the app to stop responding.

This commit is contained in:
casey langen 2021-03-18 21:07:42 -07:00
parent fa80e7f041
commit 672a5fdb45

View File

@ -73,10 +73,10 @@ Crossfader::Crossfader(ITransport& transport)
}
Crossfader::~Crossfader() {
this->messageQueue.Unregister(this);
this->quit = true;
this->messageQueue.Post(Message::Create(this, MESSAGE_QUIT, 0, 0));
this->thread->join();
this->messageQueue.Unregister(this);
}
void Crossfader::Fade(