-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
When using md-spinner
with ngc
and rollup
its OnDestroy
method won't run.
The only modification made to md-progress-circle
component was to add logging when OnDestroy
is called. Obviously it should log destroyed
twice, but it happens only once and the interdeterminateInterval
keeps running in the background causing memory leak and more cpu usage.
Note that <md-progress-circle mode="indeterminate">
works and its OnDestroy
method gets called, so as a workaround it's there. Also, md-spinner
itself seems to work as well when not precompiled. I haven't really investigated further so I'm not sure whether it's ngc or rollup causing the issue.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent