Fix: don't call iterator finalize more than once
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 May 2017 20:44:09 +0000 (16:44 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:43 +0000 (12:57 -0400)
commitdf14f8afe4ec194b84a7c9e2fe1354951d6cca94
tree64cc75758af2a40b3d7e5024a156ef86b3f52fd4
parentbeed0223d4bed1b12c89e5bb0491dfbe2eaf0859
Fix: don't call iterator finalize more than once

A finalize may have side-effects that trigger port removal, thus calling
finalize again. Ensure it is not called more than once.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/graph/iterator.c
This page took 0.026535 seconds and 4 git commands to generate.