diff options
author | David Robillard <d@drobilla.net> | 2016-12-14 14:51:52 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-12-14 14:51:52 -0500 |
commit | e83ebb983950bd10d499d4abae482c195a0d7458 (patch) | |
tree | c5e1b1f6ddd9d6ae22640002caa52e8e5e4652cc /src/server | |
parent | bf71b4be9f36f9d7c619053d97ab6f98bb98dc21 (diff) | |
download | ingen-e83ebb983950bd10d499d4abae482c195a0d7458.tar.gz ingen-e83ebb983950bd10d499d4abae482c195a0d7458.tar.bz2 ingen-e83ebb983950bd10d499d4abae482c195a0d7458.zip |
Don't shrink ports array
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/ingen_lv2.cpp | 3 |
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. */ |