Make sure plugins are activated at least once before they are cleaned up
git-svn-id: svn://localhost/ardour2/trunk@2495 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
05b27b52a2
commit
0adeb63484
@ -86,6 +86,7 @@ class LadspaPlugin : public ARDOUR::Plugin
|
|||||||
was_activated = false;
|
was_activated = false;
|
||||||
}
|
}
|
||||||
void cleanup () {
|
void cleanup () {
|
||||||
|
activate();
|
||||||
deactivate();
|
deactivate();
|
||||||
|
|
||||||
if (descriptor->cleanup) {
|
if (descriptor->cleanup) {
|
||||||
|
Loading…
Reference in New Issue
Block a user