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']) { |       if (Zone['wtfZoneSpec']) { | ||||||
|         this.inner = this.inner.fork(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(Zone['longStackTraceZoneSpec']); | ||||||
|       } |       } | ||||||
|       this.inner = this.inner.fork({ |       this.inner = this.inner.fork({ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user