From d6431a7b975995cf8a7b979bd1712ff098da07f8 Mon Sep 17 00:00:00 2001 From: perry Date: Thu, 25 Jun 2015 11:06:49 -0500 Subject: [PATCH] fix(scrollView): fix memory leak in JS scrolling cleanup --- js/views/scrollView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/views/scrollView.js b/js/views/scrollView.js index 4489fdcc8d4..0ee20674461 100644 --- a/js/views/scrollView.js +++ b/js/views/scrollView.js @@ -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);