fix(zone.js): zone.js patches rxjs should check null for unsubscribe (#35990)
Close #31687, #31684 Zone.js patches rxjs internal `_subscribe` and `_unsubscribe` methods, but zone.js doesn't do null check, so in some operator such as `retryWhen`, the `_unsubscribe` will be set to null, and will cause zone patched version throw error. In this PR, if `_subscribe` and `_unsubscribe` is null, will not do the patch. PR Close #35990
This commit is contained in:

committed by
Andrew Kushnir

parent
54634628ac
commit
3fa895298d
@ -50,5 +50,6 @@ import './rxjs.Observable.map.spec';
|
||||
import './rxjs.Observable.race.spec';
|
||||
import './rxjs.Observable.sample.spec';
|
||||
import './rxjs.Observable.take.spec';
|
||||
import './rxjs.Observable.retry.spec';
|
||||
import './rxjs.Observable.timeout.spec';
|
||||
import './rxjs.Observable.window.spec';
|
||||
|
Reference in New Issue
Block a user