mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-28 15:16:43 +00:00
Fixed a bug where switching between crossfade and gapless transport could cause the app to stop responding.
This commit is contained in:
parent
fa80e7f041
commit
672a5fdb45
@ -73,10 +73,10 @@ Crossfader::Crossfader(ITransport& transport)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Crossfader::~Crossfader() {
|
Crossfader::~Crossfader() {
|
||||||
this->messageQueue.Unregister(this);
|
|
||||||
this->quit = true;
|
this->quit = true;
|
||||||
this->messageQueue.Post(Message::Create(this, MESSAGE_QUIT, 0, 0));
|
this->messageQueue.Post(Message::Create(this, MESSAGE_QUIT, 0, 0));
|
||||||
this->thread->join();
|
this->thread->join();
|
||||||
|
this->messageQueue.Unregister(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Crossfader::Fade(
|
void Crossfader::Fade(
|
||||||
|
Loading…
Reference in New Issue
Block a user