From: Sampo Savolainen Date: Thu, 27 Sep 2007 19:01:48 +0000 (+0000) Subject: Make sure plugins are activated at least once before cleanup() X-Git-Tag: 2.8.16~1944 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=d78b48c0ffc21e01561fa726941efdd9f0f8768d;p=ardour.git Make sure plugins are activated at least once before cleanup() git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2494 d708f5d6-7413-0410-9779-e7cbd77b26cf --- diff --git a/libs/ardour/ardour/ladspa_plugin.h b/libs/ardour/ardour/ladspa_plugin.h index 81936ab3d3..48228c0c83 100644 --- a/libs/ardour/ardour/ladspa_plugin.h +++ b/libs/ardour/ardour/ladspa_plugin.h @@ -85,6 +85,7 @@ class LadspaPlugin : public ARDOUR::Plugin was_activated = false; } void cleanup () { + activate(); deactivate(); if (descriptor->cleanup) {