diff --git a/src/reagent/ratom.cljs b/src/reagent/ratom.cljs index df23e1d..edebf05 100644 --- a/src/reagent/ratom.cljs +++ b/src/reagent/ratom.cljs @@ -205,7 +205,8 @@ (-remove-watch [this k] (set! watches (dissoc watches k)) - (when (empty? watches) + (when (and (empty? watches) + (not auto-run)) (dispose! this))) IReset