Skip to content

Commit

Permalink
refactor(Stream): make _lateStop() more correct and robust
Browse files Browse the repository at this point in the history
Should set _stopID to null always, that is simply what _lateStop() should do anyway.
  • Loading branch information
staltz committed Jul 12, 2016
1 parent ca41a07 commit d309c16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,7 @@ export class Stream<T> implements InternalListener<T> {
// where we already checked that this._prod is truthy
this._prod._stop();
this._err = NO;
this._stopID = NO;
}

_add(il: InternalListener<T>): void {
Expand Down

0 comments on commit d309c16

Please sign in to comment.