Skip to content

Commit

Permalink
fix(core): remove deprecated wtfZoneSpec from NgZone (#37864)
Browse files Browse the repository at this point in the history
Since `WTF` is deprecated and removed in v9 in this PR #33949, so
in this PR, `WtfZoneSpec` is also removed from `NgZone`.

PR Close #37864
  • Loading branch information
JiaLiPassion authored and atscott committed Nov 12, 2020
1 parent 5fae8b3 commit e02bea8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/core/src/zone/ng_zone.ts
Expand Up @@ -130,10 +130,6 @@ export class NgZone {

self._outer = self._inner = Zone.current;

if ((Zone as any)['wtfZoneSpec']) {
self._inner = self._inner.fork((Zone as any)['wtfZoneSpec']);
}

if ((Zone as any)['TaskTrackingZoneSpec']) {
self._inner = self._inner.fork(new ((Zone as any)['TaskTrackingZoneSpec'] as any));
}
Expand Down

0 comments on commit e02bea8

Please sign in to comment.