You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our application we get in some cases an uncaught error from ngx-gauge:
ERROR TypeError: Cannot read property 'clearRect' of undefined
at NgxGauge._clear (vendor.js:82965)
at NgxGauge._destroy (vendor.js:82999)
at NgxGauge.ngOnDestroy (vendor.js:82930)
at executeOnDestroys (vendor.js:136785)
at cleanUpView (vendor.js:136709)
at destroyViewTree (vendor.js:136535)
at destroyLView (vendor.js:136687)
at ViewContainerRef.remove (vendor.js:137797)
at ViewContainerRef.clear (vendor.js:137704)
at SafeSubscriber._next (main.js:15265)
The error happens on the call of the clear method of a ViewContainerRef in which the ngx-gauge is inside.
We are using Angular 10. Core: 10.1.1
I have tested it with 10.1.6 as well and got the same error.
Maybe in the _clear Method there should be a null check for the context?
In our application we get in some cases an uncaught error from ngx-gauge:
ERROR TypeError: Cannot read property 'clearRect' of undefined
at NgxGauge._clear (vendor.js:82965)
at NgxGauge._destroy (vendor.js:82999)
at NgxGauge.ngOnDestroy (vendor.js:82930)
at executeOnDestroys (vendor.js:136785)
at cleanUpView (vendor.js:136709)
at destroyViewTree (vendor.js:136535)
at destroyLView (vendor.js:136687)
at ViewContainerRef.remove (vendor.js:137797)
at ViewContainerRef.clear (vendor.js:137704)
at SafeSubscriber._next (main.js:15265)
The error happens on the call of the clear method of a ViewContainerRef in which the ngx-gauge is inside.
We are using Angular 10. Core: 10.1.1
I have tested it with 10.1.6 as well and got the same error.
Maybe in the _clear Method there should be a null check for the context?
The text was updated successfully, but these errors were encountered: