From 0253b335f576c45c0da7ca2ece9afba0a303a2ba Mon Sep 17 00:00:00 2001 From: xenakios Date: Sat, 20 Jan 2018 22:54:26 +0200 Subject: [PATCH] Fix release build crash in Reaper and Ableton Live --- Source/PluginProcessor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/PluginProcessor.cpp b/Source/PluginProcessor.cpp index 14bdfe1..82fff90 100644 --- a/Source/PluginProcessor.cpp +++ b/Source/PluginProcessor.cpp @@ -178,6 +178,8 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor() PaulstretchpluginAudioProcessor::~PaulstretchpluginAudioProcessor() { g_activeprocessors.erase(this); + m_thumb->removeAllChangeListeners(); + m_thumb = nullptr; m_bufferingthread.stopThread(1000); }