summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/LV2Node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/LV2Node.cpp')
-rw-r--r--src/libs/engine/LV2Node.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libs/engine/LV2Node.cpp b/src/libs/engine/LV2Node.cpp
index eb8f86b7..d901176f 100644
--- a/src/libs/engine/LV2Node.cpp
+++ b/src/libs/engine/LV2Node.cpp
@@ -55,6 +55,15 @@ LV2Node::LV2Node(PluginImpl* plugin,
}
+LV2Node::~LV2Node()
+{
+ for (uint32_t i=0; i < _polyphony; ++i)
+ slv2_instance_free((*_instances)[i]);
+
+ delete _instances;
+}
+
+
bool
LV2Node::prepare_poly(uint32_t poly)
{
@@ -193,15 +202,6 @@ LV2Node::instantiate()
}
-LV2Node::~LV2Node()
-{
- for (uint32_t i=0; i < _polyphony; ++i)
- slv2_instance_free((*_instances)[i]);
-
- delete _instances;
-}
-
-
void
LV2Node::activate()
{