opening up "cleanup-if-dirty"

to solve random cljs compile/resolution problems
This commit is contained in:
anatoly 2016-01-11 20:00:38 -05:00
parent 0644b02703
commit 5e57e3ae7e

View file

@ -45,7 +45,7 @@
(nth f 2) ;; magic 2 is to get the body => ["fn*" "[]" "(fn body)"]
f))
(defn- cleanup-if-dirty
(defn cleanup-if-dirty
"in case a namespace is recompiled without calling (mount/stop),
a running state instance will still be running.
this function stops this 'lost' state instance.