Skip to content

set_label_behavior() is not unbinded in destroy function causing memory leaks #2238

@michalvankodev

Description

@michalvankodev

this.set_label_behavior() is binding event listener for parent <label> but the listener is not unbinded in destroy function. This is causing memory leaks in web applications where there are multiple instances of chosen selects created and destroyed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions