-
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(imitate): use null for unset this._target
The unset this._target used to be the constant object NO but it seems more reliable to use null here. In some rare cases (maybe with garbage collection?) the NO object in this._target may differ from the global NO object. The NO object is useful for streams that emit null or undefined, but not useful for this._target so it seems better to just use null here.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters