From 5f237bee626718bf051858c250fe4aeac6188347 Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Thu, 27 May 2010 08:43:20 -1000 Subject: [PATCH] Don't shutdown agents in core; test task can handle that. --- src/leiningen/core.clj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/leiningen/core.clj b/src/leiningen/core.clj index d799ea4b1..6e9395df5 100644 --- a/src/leiningen/core.clj +++ b/src/leiningen/core.clj @@ -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"]))))