All threads in default core.async threadpool should be daemon, so they should not block when JVM is about to exit. Maybe it is a tomcat issue.
On Mon, Feb 24, 2014 at 7:06 PM, Jan Herich <jan.her...@gmail.com> wrote: > Hi Folks, > > I developed an pedestal application which uses core.async for real-time > server push. > Everything works fine, except little problem when i run the application as > the Servlet > in Tomcat (7.0.52). > > The problem is, that if i shutdown the tomcat instance with shutdown > script > (default bin/shutdown.sh), it won't quit. > > I can see with VisualVM that it is because of the core.async executors > threadpool > used to dispatch go blocks which is not properly teared down. > > Any ideas how to solve this ? > > Cheers > > Jan > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.