Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

Service from Component Providers is not destroyed #816

Open

Description

@rostislavcz

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)

Activity

  1. mgechev commented on May 24, 2021

    @mgechev
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions