From 4fb6f6849e540d5e479cb4f0c690b27b01b1a11c Mon Sep 17 00:00:00 2001 From: anatoly Date: Tue, 15 Dec 2015 12:25:00 -0500 Subject: [PATCH] #22: a note on state cleaning when ns is recompiled --- src/mount/core.cljc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mount/core.cljc b/src/mount/core.cljc index 245e01f..30ba572 100644 --- a/src/mount/core.cljc +++ b/src/mount/core.cljc @@ -49,6 +49,7 @@ it is meant to be called by defstate before defining a new state" [state] (when-let [stop (@running state)] + (prn (str "<< stopping.. " state " (namespace was recompiled)")) (stop) (swap! running dissoc state)))