Upendra Pratap Shahi

Upendra Pratap Shahi

  • 196
  • 10.2k
  • 1.3m

Getting below error after a certain time on Angular 6

Apr 30 2019 11:44 AM
Hi,
 
Getting below error in .net core and Angular 6 application:
 

Uncaught Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges

at viewDestroyedError (core.js:7398)

at Object.debugUpdateDirectives [as updateDirectives] (core.js:10843)

at checkAndUpdateView (core.js:10243)

at callWithDebugContext (core.js:11136)

at Object.debugCheckAndUpdateView [as checkAndUpdateView] (core.js:10814)

at ViewRef_.push../node_modules/@angular/core/fesm5/core.js.ViewRef_.detectChanges (core.js:8630)

at mxb058.component.ts:266

at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)

at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)

at push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask (zone.js:496)

 
 
 Let me know if anyone can suggest.

Answers (1)