You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 still put! 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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: