refactor(NgZoneImpl): ensure zone spec is available
trace could be true (in dev mode) while there is no long stack trace spec Closes #7702
This commit is contained in:
parent
bf911fc992
commit
cad693de0f
|
@ -41,7 +41,7 @@ export class NgZoneImpl {
|
|||
if (Zone['wtfZoneSpec']) {
|
||||
this.inner = this.inner.fork(Zone['wtfZoneSpec']);
|
||||
}
|
||||
if (trace) {
|
||||
if (trace && Zone['longStackTraceZoneSpec']) {
|
||||
this.inner = this.inner.fork(Zone['longStackTraceZoneSpec']);
|
||||
}
|
||||
this.inner = this.inner.fork({
|
||||
|
|
Loading…
Reference in New Issue