From time to time I would remove the old ones and add new ones to dynamically update the interface. But every time I remove and add, presumably the hander for the fold event is not released, resulting in a memory leak. Is there any way to perform an action like this.pane.off('fold')?
Thanks to this project, I can easily add UI functionality.
Currently I use the following code to dynamically create and delete folders:
From time to time I would remove the old ones and add new ones to dynamically update the interface. But every time I remove and add, presumably the hander for the fold event is not released, resulting in a memory leak. Is there any way to perform an action like
this.pane.off('fold')
?