We're updating the issue view to help you get more done. 

(CLJS) Core.async memory leak in Safari and Mobile Safari

Description

Chaining together channels apparently leaks memory in Safari.

A statement such as

1 2 (def test [input-chan] (map< identity (map< identity (map< identity input-chan))))

will leak memory when the channels are used. The longer the chain the more memory.

I have created an example repository and an example page.

The repo and the example code is here:
https://github.com/bhauman/checkmemleak/blob/master/src/checking_safari_leak/core.cljs

The demonstration page is here:
This link will leak
http://rigsomelight.com/checkmemleak/?leak=true
This link will not
http://rigsomelight.com/checkmemleak

The leak is pretty darn severe.

Environment

Mobile Safari on iOS 7.0; Safari 6.1 on OSX Lion

Status

Assignee

Unassigned

Reporter

Bruce Hauman

Labels

None

Approval

None

Patch

None

Priority

Major