Skip to content

Commit

Permalink
fix(scrollView): fix memory leak in JS scrolling cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygovier committed Jun 25, 2015
1 parent a293a23 commit d6431a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/views/scrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ ionic.views.Scroll = ionic.views.View.inherit({
container.removeEventListener('touchmove', self.touchMoveBubble);
document.removeEventListener('touchmove', self.touchMove);
document.removeEventListener('touchend', self.touchEnd);
document.removeEventListener('touchcancel', self.touchCancel);
document.removeEventListener('touchcancel', self.touchEnd);

container.removeEventListener("pointerdown", self.touchStart);
container.removeEventListener("pointermove", self.touchMoveBubble);
Expand Down

0 comments on commit d6431a7

Please sign in to comment.