angular-devtools icon indicating copy to clipboard operation
angular-devtools copied to clipboard

Service from Component Providers is not destroyed

Open rostislavcz opened this issue 3 years ago • 1 comments

Angular DevTools version (required): 1.0.0 Angular version (required): 9.1.12

Description of issue: When AngularDevtools is enabled and I put service in component providers property, it won't destroy service, after component is removed from DOM (when devtool is turned off, it will) image image

Steps to reproduce: With DevTool enabled, Puzzle service will never be destroyed even though it should be and it also is without angular devtools (this cause some errors, because I have subscriptions to NgRx store)

rostislavcz avatar May 24 '21 17:05 rostislavcz

@rostislavcz thanks for the report! Could you share a minimal reproduction on StackBlitz where we can reproduce the error?

mgechev avatar May 24 '21 17:05 mgechev