Skip to content

Commit ce8174c

Browse files
committed
Fix memory leak in pods
This was particularly evident when doing `boot watch test` and has been fixed thanks to Micha's intuition of adding a clojure.core/shutdown-agents in boot.pod/destroy-pod. Fixes adzerk-oss/boot-test#26
1 parent e6ea562 commit ce8174c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

boot/pod/src/boot/pod.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
[pod]
825825
(when pod
826826
(.close pod)
827+
(clojure.core/shutdown-agents)
827828
(.. pod getClassLoader close)))
828829

829830
(defn pod-pool

0 commit comments

Comments
 (0)