Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

perf(datepicker): prevent memory leak caused by ngZone subscription #1534

Closed
wants to merge 1 commit into from

Conversation

Ikody
Copy link

@Ikody Ikody commented May 3, 2017

The datepicker component cannot be correctly garbage collected if any subscription remains after the onDestroy call.

The datepicker component cannot be correctly garbage collected if any subscription remains after the onDestroy call.
@phgnx
Copy link

phgnx commented May 3, 2017

Thank you I've been wasting way too much time too investigate memory leaks, this fixes my issue :)

@pkozlowski-opensource
Copy link
Member

Wow, thnx @Ikody - I'm not sure how we've missed this one as all the other directives opening popup got proper OnDestroy hooks :-/

LGTM, merging. Thnx again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants