Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
michalvankodev opened this issue Feb 13, 2015 · 0 comments · Fixed by #2717
Closed
Assignees

Comments

@michalvankodev
Copy link

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.

@koenpunt koenpunt self-assigned this Mar 29, 2015
koenpunt added a commit to koenpunt/chosen that referenced this issue Oct 2, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants