diff --git a/include/engine/plugins/plugin_base.hpp b/include/engine/plugins/plugin_base.hpp index 9552bb82e..6321c95d6 100644 --- a/include/engine/plugins/plugin_base.hpp +++ b/include/engine/plugins/plugin_base.hpp @@ -267,6 +267,7 @@ class BasePlugin // we didn't found a fitting node, return error if (!phantom_node_pairs[i].first.IsValid(facade.GetNumberOfNodes())) { + phantom_node_pairs.pop_back(); break; } BOOST_ASSERT(phantom_node_pairs[i].first.IsValid(facade.GetNumberOfNodes()));