Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 347ebc9

Browse files
committed
remove symbolRootZoneSpec from global
1 parent c2b961b commit 347ebc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/zone.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,7 @@ const Zone: ZoneType = (function(global: any) {
956956
var rootZone: Zone = new Zone(null, null);
957957
if (global[symbolRootZoneSpec]) {
958958
rootZone = <Zone>rootZone.fork(global[symbolRootZoneSpec]);
959+
delete global[symbolRootZoneSpec];
959960
}
960961

961962
let _currentZoneFrame = new ZoneFrame(null, rootZone);

0 commit comments

Comments
 (0)