From c610745ee3cc1c20ba70041b6c2db90ae6537e2c Mon Sep 17 00:00:00 2001 From: Noah Dayan Date: Fri, 23 Mar 2018 09:58:19 +0000 Subject: [PATCH] Fixed listener bug in AudioPluginHost --- extras/AudioPluginHost/Source/FilterGraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/AudioPluginHost/Source/FilterGraph.cpp b/extras/AudioPluginHost/Source/FilterGraph.cpp index af1b97ec22..de33ad33a9 100644 --- a/extras/AudioPluginHost/Source/FilterGraph.cpp +++ b/extras/AudioPluginHost/Source/FilterGraph.cpp @@ -49,7 +49,7 @@ FilterGraph::FilterGraph (AudioPluginFormatManager& fm) FilterGraph::~FilterGraph() { - graph.addListener (this); + graph.removeListener (this); graph.removeChangeListener (this); graph.clear(); }