summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-12-14 14:51:52 -0500
committerDavid Robillard <d@drobilla.net>2016-12-14 14:51:52 -0500
commite83ebb983950bd10d499d4abae482c195a0d7458 (patch)
treec5e1b1f6ddd9d6ae22640002caa52e8e5e4652cc
parentbf71b4be9f36f9d7c619053d97ab6f98bb98dc21 (diff)
downloadingen-e83ebb983950bd10d499d4abae482c195a0d7458.tar.gz
ingen-e83ebb983950bd10d499d4abae482c195a0d7458.tar.bz2
ingen-e83ebb983950bd10d499d4abae482c195a0d7458.zip
Don't shrink ports array
-rw-r--r--src/server/ingen_lv2.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index ff2d7189..f902a4bb 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -215,9 +215,6 @@ public:
virtual void remove_port(RunContext& context, EnginePort* port) {
const uint32_t index = port->graph_port()->index();
_ports[index] = NULL;
- if (index == _ports.size() - 1) {
- _ports.resize(index);
- }
}
/** Unused since LV2 has no dynamic ports. */