Skip to content

Commit

Permalink
Fix memory leak in pods
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arichiardi committed Jun 23, 2016
1 parent e6ea562 commit ce8174c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boot/pod/src/boot/pod.clj
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@
[pod]
(when pod
(.close pod)
(clojure.core/shutdown-agents)
(.. pod getClassLoader close)))

(defn pod-pool
Expand Down

0 comments on commit ce8174c

Please sign in to comment.