Permalink
Browse files

Added shutdown function.

  • Loading branch information...
1 parent 94aa4a8 commit 08a801717a7df28d0f8c2b4752bc0df3117f8794 Anderson De Andrade committed Feb 11, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/neo4j_clj/core.clj
View
6 src/neo4j_clj/core.clj
@@ -16,6 +16,12 @@
[db]
(alter-var-root #'*db* (constantly db)))
+(defn shutdown
+ ([]
+ (.shutdown *db*))
+ ([db]
+ (.shutdown db)))
+
(defn reference-node
([]
(reference-node *db*))

0 comments on commit 08a8017

Please sign in to comment.