Make sure plugins are activated at least once before they are cleaned up
authorSampo Savolainen <v2@iki.fi>
Thu, 27 Sep 2007 19:05:27 +0000 (19:05 +0000)
committerSampo Savolainen <v2@iki.fi>
Thu, 27 Sep 2007 19:05:27 +0000 (19:05 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2495 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/ladspa_plugin.h

index 336538432104eb3a60b043bd2e596d314d311980..e466e532155fb5c506da0658d2414a24e5f1743e 100644 (file)
@@ -86,6 +86,7 @@ class LadspaPlugin : public ARDOUR::Plugin
                was_activated = false;
        }
        void cleanup () {
+               activate();
                deactivate();
 
                if (descriptor->cleanup) {