On Mon, Oct 12, 2009 at 3:28 PM, Rob Wolfe <r...@smsnet.pl> wrote:
>
> Let's suppose I don't know that there have been used agents here.
> This program will hang, because I haven't added "shutdown-agents" call.
> What do you do in such case:
> a) take a look at the library code to find out if there are used agents
> b) take a look at the library docs, where should be explicitly required
>   "shutdown-agents" call
> c) add "shutdown-agents" always just in case
> d) other solution (I hope there is any)

Nothing much wrong with (c) if you're writing a stand-alone
program and allowing the JVM to exit automatically is important
to you.  On the other hand, there has been some work toward
making this less manual, but it's nothing's been settled yet:

http://www.assembla.com/spaces/clojure/tickets/124

--Chouser

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to