Skip to content

ListView item component leak #703

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

Merged
merged 3 commits into from
Mar 16, 2017
Merged

ListView item component leak #703

merged 3 commits into from
Mar 16, 2017

Conversation

hdeshev
Copy link
Contributor

@hdeshev hdeshev commented Mar 15, 2017

Components created in ListView items weren't being properly destroyed. We now destroy the ng embedded view when the element is removed from the visual tree.

Also fixes karma tests broken by latest tns-core-modules.

Fixes #656

@hdeshev hdeshev force-pushed the hdeshev/listview-item-leak branch from 730c03a to 8e20393 Compare March 15, 2017 15:58
@hdeshev hdeshev merged commit 6e35152 into master Mar 16, 2017
@sis0k0 sis0k0 deleted the hdeshev/listview-item-leak branch August 3, 2017 10:31
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.

Potential leak: ListView items not reused and not ngOnDestroy'ed on navigate
1 participant