Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix unsubscribe memory leak #142
Use regular while loop to clean up the array and add a test which
In `user-activity`'s `willDestroy` there was an forEach loop by `this._eventsListened` where inside the callback items were removed from the array which was being iterated. As a result one item left non-cleaned up. Use regular while loop to clean up the array and add a test which ensures that event listeners were removed.