custom-dropdown icon indicating copy to clipboard operation
custom-dropdown copied to clipboard

remove listener on dispose

Open dufguix opened this issue 1 year ago • 0 comments

Issue that I was facing: When specifying a controller, listener is not removed when the widget is disposed. Controller could still notify listeners of disposed widget.

solution: Keep a reference of listeners (private methods). And remove listeners on dispose.

dufguix avatar Jul 16 '24 08:07 dufguix