Skip to content

Commit

Permalink
fix(scroll): ensure listeners have been added before removing
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Dec 6, 2016
1 parent eba2862 commit a237253
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util/scroll-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a237253

Please sign in to comment.