Skip to content

Conversation

bensgroi
Copy link

When using addEventListener, the event handlers need to be removed manually on $scope.$destroy, otherwise memory leaks occur.

Calling `addEventListener` on the row element without ever disconnecting via `removeEventListener` causes a memory leak.
@bensgroi bensgroi mentioned this pull request Oct 22, 2018
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.

1 participant