Skip to content
Snippets Groups Projects
Commit d5194c2b authored by Allen Gilliland's avatar Allen Gilliland
Browse files

don't shutdown quartz scheduler if we never initialized it.

parent ab657241
Branches
Tags
No related merge requests found
......@@ -36,7 +36,8 @@
[]
(log/debug "Stopping Quartz Scheduler")
;; tell quartz to stop everything
(qs/shutdown @quartz-scheduler)
(when @quartz-scheduler
(qs/shutdown @quartz-scheduler))
;; reset our scheduler reference
(reset! quartz-scheduler nil))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment