fix(scroll): ensure listeners have been added before removing

This commit is contained in:
Adam Bradley
2016-12-06 10:50:50 -06:00
parent eba2862e70
commit a237253dda

View File

@@ -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;
}