From a237253dda7ff2f7a6e9096c2fa9cbcc4cb85ca9 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 6 Dec 2016 10:50:50 -0600 Subject: [PATCH] fix(scroll): ensure listeners have been added before removing --- src/util/scroll-view.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util/scroll-view.ts b/src/util/scroll-view.ts index 27a63b59b5..c327ee8794 100644 --- a/src/util/scroll-view.ts +++ b/src/util/scroll-view.ts @@ -487,10 +487,9 @@ export class ScrollView { this.scrollStart.unsubscribe(); this.scroll.unsubscribe(); this.scrollEnd.unsubscribe(); - this.stop(); - this._lsn(); this._endTmr && this._endTmr(); + this._lsn && this._lsn(); this._el = this._dom = null; }