Skip to content

Commit

Permalink
Don't shutdown agents in core; test task can handle that.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed May 27, 2010
1 parent ee7c2da commit 5f237be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/leiningen/core.clj
Expand Up @@ -116,7 +116,5 @@
;; TODO: wrap tasks in run-task using alter-var-root
(let [value (run-task task args)]
(when (integer? value)
(System/exit value))))
;; In case tests or some other task started any:
(shutdown-agents)))
(System/exit value))))))
([] (apply -main (or *command-line-args* ["help"]))))

0 comments on commit 5f237be

Please sign in to comment.