sim51 / react-sigma

Sigma React component
https://sim51.github.io/react-sigma/
Other
158 stars 27 forks source link

Sigma instances are not killed when component is unmounted #21

Closed jacomyal closed 1 year ago

jacomyal commented 2 years ago

I have an application where I mount and unmount often my sigma component, while I have another instance behind that is always there. At some point, since the sigma instances are not killed which makes the WebGL contexts leak, the main instance (the one behind) stopped working.

sim51 commented 2 years ago

But normally it should be killed : https://github.com/sim51/react-sigma/blob/1.3.0/src/SigmaContainer.tsx#L83-L91

sim51 commented 1 year ago

Closing it due to inactivity and not reproducibility.