react-sigma icon indicating copy to clipboard operation
react-sigma copied to clipboard

Sigma instances are not killed when component is unmounted

Open jacomyal opened this issue 3 years ago • 1 comments

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.

jacomyal avatar Feb 17 '22 15:02 jacomyal

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

sim51 avatar Mar 06 '22 14:03 sim51

Closing it due to inactivity and not reproducibility.

sim51 avatar Sep 25 '22 17:09 sim51