Open Hironari-Saito opened 1 year ago
I see that there would still be a memory leak when removing a node, since it would not be destroyed.
Is it possible to put in the unmount of the component the destruction of the instance?
Hi! @jerosoler Thank you for your reply! Your observation is correct.
Not only the clear function, but also the removeNodeId function needs to be individually destroyed. Please wait a moment while I fix the code.
I have made some modifications to the code. Please review it!
I have added and tested scenarios for the memory leak in removeNodeId in the PoC repository.
Please see #696