<< Back to previous view

[ASYNC-108] cljs to-chan hangs on infinite lazy sequences Created: 20/Nov/14  Updated: 20/Nov/14

Status: Open
Project: core.async
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Minor
Reporter: Felix Andrews Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: cljs

[org.clojure/core.async "0.1.346.0-17112a-alpha"]

Patch: Code


e.g. this hangs the browser:

(go-loop [ch (to-chan (range))]
(println (<! ch))
(<! (timeout 1000))
(recur ch))

The problem is in
where the order of arguments to bounded-count is wrong.

Generated at Wed Nov 26 03:02:08 CST 2014 using JIRA 4.4#649-r158309.