Skip to content

fix(uiSref, uiState): added click unbind to prevent memory leaks #2721

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 1 commit into from
May 12, 2016

Conversation

smelukov
Copy link

Fixed memory leaks beetween states with many ui-sref in their templates

@smelukov
Copy link
Author

smelukov commented Apr 29, 2016

In my case, I have many links with ui-sref attribute.
For every transfer beetween states was allocated 180kb of memory that does not freed.
After that fix I've got 17kb instead of 180kb

@nateabele
Copy link
Contributor

Seems 👍 . Can anybody else confirm before we move on?

@smelukov
Copy link
Author

smelukov commented May 4, 2016

@nateabele nobody obviously...

@christopherthielen
Copy link
Contributor

Seems like it shouldn't be necessary, but I have no issue with merging it

@christopherthielen christopherthielen merged commit 36b1348 into angular-ui:legacy May 12, 2016
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.

3 participants