Skip to content

Commit

Permalink
Update to ShimDandy 1.2.0; Closes #314 & #268.
Browse files Browse the repository at this point in the history
1.2.0 removes an avenue for leaking memory, and provides a close method
to call `shutdown-agents` on your behalf.
  • Loading branch information
tobias authored and martinklepsch committed Oct 26, 2015
1 parent 4a3553a commit 0756590
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boot/base/pom.in.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<dependency>
<groupId>org.projectodd.shimdandy</groupId>
<artifactId>shimdandy-api</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
2 changes: 1 addition & 1 deletion boot/pod/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
:dependencies [[boot/base ~version :scope "provided"]
[org.clojure/clojure "1.6.0" :scope "provided"]
[org.tcrawley/dynapath "0.2.3" :scope "compile"]
[org.projectodd.shimdandy/shimdandy-impl "1.1.0" :scope "compile"]])
[org.projectodd.shimdandy/shimdandy-impl "1.2.0" :scope "compile"]])
2 changes: 1 addition & 1 deletion boot/pod/src/boot/pod.clj
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@
(defn destroy-pod
[pod]
(when pod
(.invoke pod "clojure.core/shutdown-agents")
(.close pod)
(.. pod getClassLoader close)))

(defn pod-pool
Expand Down

0 comments on commit 0756590

Please sign in to comment.