From e83ebb983950bd10d499d4abae482c195a0d7458 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 14 Dec 2016 14:51:52 -0500 Subject: Don't shrink ports array --- src/server/ingen_lv2.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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. */ -- cgit v1.2.1