When you call om/root on a target element, the element's previous render
loop is replaced. But IWillUnmount is not called on the existing components.

Questions:
- Is this behavior expected? Should IWillUnmount be getting called?
- Is there a "right" way to do cleanup in this case? I can invent one, e.g.
you could defonce a channel and mult, and pass it as :shared into om/root,
and signal it before calling root again.

This is a common scenario, at least during development. Every time I save a
file, I leak a few channels, go-loops, and "while true"s. (With figwheel /
chestnut)

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to