Re: core.async: leak in the examples

2013-07-18 Thread Timothy Baldridge
Yes, channels are GC'd and so are any gos that are connected to them (who are not also being held by some other reference). Timothy On Thu, Jul 18, 2013 at 9:42 AM, Alice wrote: > https://github.com/clojure/core.async/blob/master/examples/ex-async.clj > https://github.com/clojure/core.async/bl

core.async: leak in the examples

2013-07-18 Thread Alice
https://github.com/clojure/core.async/blob/master/examples/ex-async.clj https://github.com/clojure/core.async/blob/master/examples/ex-go.clj One uses future, and the other uses go. The code runs query twice for each search type, and takes only one, whichever comes first, from the channel, so I'm