weaverbird icon indicating copy to clipboard operation
weaverbird copied to clipboard

Remove event listeners before component unmounts

Open Arooba-git opened this issue 1 year ago • 0 comments

Hi! 👋 The event listeners added in ResizablePanels and StepForm are never removed once added. Even after the component unmounts, the event handlers remain bound to the events. This would lead to an accumulation of such listeners each time a component is mounted, leading to a memory leak. This PR fixes this issue:)

Arooba-git avatar Jan 06 '24 00:01 Arooba-git