Skip to content

Commit

Permalink
Fix state :unwinds should always be a vector
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmonettas committed Mar 19, 2024
1 parent d42fee8 commit 00127f8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src-dbg/flow_storm/debugger/state.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;;
Expand Down

0 comments on commit 00127f8

Please sign in to comment.