On Tuesday 16 December 2008 07:36, Randall R Schulz wrote:
> ...
>
> So I am still confused about the right way to deal with agents in
> order to get reliable and prompt exit from the REPL and why an  EOF
> from the terminal hangs (only if agents were started and regardless
> of whether a shutdown hook is in place) but (System/exit 0) does not
> hang (again, regardless of whether agents were started and whether a
> shutdown hook is in place).
>
> What am I missing?

One last piece of evidence on this. If I directly call (shutdown-agents) 
before exiting the REPL using CTRL-D, then Clojure exits promptly.


Randall Schulz

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