Skip to content

Commit

Permalink
fix(throttleTime): .remove(throttled) is a noop as throttled.unsubscr…
Browse files Browse the repository at this point in the history
…ibe() already does it
  • Loading branch information
sod committed Sep 26, 2017
1 parent 9fc78aa commit 15701a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/operators/throttleTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ class ThrottleTimeSubscriber<T> extends Subscriber<T> {

if (throttled) {
throttled.unsubscribe();
this.remove(throttled);
this.throttled = null;

if (this.trailing && this._hasTrailingValue) {
Expand Down

0 comments on commit 15701a3

Please sign in to comment.