Fix release build crash in Reaper and Ableton Live

This commit is contained in:
xenakios 2018-01-20 22:54:26 +02:00
parent a2ab8d285f
commit 0253b335f5

View File

@ -178,6 +178,8 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor()
PaulstretchpluginAudioProcessor::~PaulstretchpluginAudioProcessor() PaulstretchpluginAudioProcessor::~PaulstretchpluginAudioProcessor()
{ {
g_activeprocessors.erase(this); g_activeprocessors.erase(this);
m_thumb->removeAllChangeListeners();
m_thumb = nullptr;
m_bufferingthread.stopThread(1000); m_bufferingthread.stopThread(1000);
} }