Open bensu opened 9 years ago
Thanks for the report, I'm not sure why this is happening. The intention is definitely that you should be able to close!
a graph when you're done with it. I'll have to do some investigation to see where channels are not being closed when I expect them to be.
If I have an om component that starts a live graph when mounted, I would like to take the graph down when unmounting it. Is this possible? I'm currently doing something like this:
The only thing I figured out was to
async/close!
the live-graph since it implements the protocol but it is not enough. After the component is unmounted, zelkova's event listeners stillput!
values in channels which raises the following exception on each mouse movement:Uncaught Error: Assert failed: No more than 1024 pending puts are allowed on a single channel. Consider using a windowed buffer. (< (.-length puts) impl/MAX-QUEUE-SIZE