Skip to content

Commit a0b3260

Browse files
committed
Fixed remove method.
1 parent 6ce6dcb commit a0b3260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zhang/agent/process_table/impl.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
(defn remove-p
5151
[this id]
52-
(dissoc this [:data id]))
52+
(update-in this [:data] dissoc id))
5353

5454
(def process-table-behaviour
5555
{:get-processes get-p

0 commit comments

Comments
 (0)