This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
memory leak when destroying an angular-material app #11024
Copy link
Copy link
Open
Labels
P3: importantImportant issues that really should be fixed when possible.Important issues that really should be fixed when possible.needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communityThe cause of this issue is not well understood and needs to be investigated by the team or communityseverity: performanceThis issue causes a significant performance degradationThis issue causes a significant performance degradationtype: performanceThis issue is related to performanceThis issue is related to performance
Milestone
Description
Actual Behavior:
- angular-material does not clean-up when angularjs app is destroyed
CodePen (or steps to reproduce the issue): *
- https://jsfiddle.net/leogdsl/bhkat99u/
Details:
3 variations for destroying the app are included in the fiddle, and all show the same behavior. You can quickly modify the fiddle to demonstrate that none have the expected effect
To reproduce, while profiling with dev tools, create and destroy the app multiple times using any of the methods included. Results of tests are all as shown below.
AngularJS Versions: *
AngularJS Version:
1.5.11AngularJS Material Version:
1.1.5 (latest)
Additional Information:
Browser Type: *
Chrome, IEBrowser Version: *
Results shown in Chrome 63OS: *
Win10Stack Traces:
Shortcut to create a new CodePen Demo.
Note: *
indicates required information. Without this information, your issue may be auto-closed.
Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.
Metadata
Metadata
Assignees
Labels
P3: importantImportant issues that really should be fixed when possible.Important issues that really should be fixed when possible.needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communityThe cause of this issue is not well understood and needs to be investigated by the team or communityseverity: performanceThis issue causes a significant performance degradationThis issue causes a significant performance degradationtype: performanceThis issue is related to performanceThis issue is related to performance