8000 Angular Module instance never get destroyed · Issue #37095 · angular/angular · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Angular Module instance never get destroyed #37095
Open
@SukeshMarla

Description

@SukeshMarla

No matter what we do lazy loading or eager loading Angular Module instance never gets destroyed.

When we route across components or use *ngIF Components get destroyed and recreated but its not the same case when we navigate from one module to another.

While lazy loading every module gets loaded dynamically. Also, the instance get created but that instance never gets destroyed.

To check the same I put the breakpoint in Module constructor.

Anybody know the reason for such behavior. I feel it bad because all services registered on those modules get remain forever then too.

I felt like it a bug than a feature request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0