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

(Fix) memory leaks: unreleased interval and events #172

Merged
merged 2 commits into from
Oct 31, 2018

Conversation

vbaranov
Copy link
Collaborator

@vbaranov vbaranov commented Oct 26, 2018

Relates to #157

In addition to this memory leak fix ee568d5, that has been merged previously in this PR #169 into dev branch of NW, unreleased interval and transitionstart, transitionend events could cause memory leaks in NW, also.
This PR fixes it with implementing of removal of events on unmounting of a component and clearing of _phishingUpdateIntervalRef interval.

Also, removal of event listener on notification click has been added in this commit 3b878f3

@ghost ghost assigned vbaranov Oct 29, 2018
@vbaranov vbaranov added this to the 4.8.7 milestone Oct 30, 2018
@vbaranov vbaranov merged commit 9061ea4 into develop Oct 31, 2018
@ghost ghost removed the awaiting for review label Oct 31, 2018
@vbaranov vbaranov mentioned this pull request Nov 6, 2018
@vbaranov vbaranov deleted the possible-memory-leaks branch November 8, 2018 12:20
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.

4 participants