From 00127f8ed840c99a7c52ce69c9b9c51da6620ff5 Mon Sep 17 00:00:00 2001 From: Juan Monetta Date: Tue, 19 Mar 2024 10:31:07 -0300 Subject: [PATCH] Fix state :unwinds should always be a vector --- src-dbg/flow_storm/debugger/state.clj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src-dbg/flow_storm/debugger/state.clj b/src-dbg/flow_storm/debugger/state.clj index c41ed368..05e6315b 100644 --- a/src-dbg/flow_storm/debugger/state.clj +++ b/src-dbg/flow_storm/debugger/state.clj @@ -551,9 +551,10 @@ (defn remove-unwinds [flow-id] (swap! state update :unwinds (fn [unwinds] - (remove (fn [u] - (= flow-id (:flow-id u))) - unwinds)))) + (->> unwinds + (remove (fn [u] + (= flow-id (:flow-id u)))) + (into []))))) ;;;;;;;;;;;;;;;; ;; JFX Stages ;;