Closed
Description
Bug, feature request, or proposal:
Shouldn't static member be reset to null when all outlets are destroyed?
What is the expected behavior?
No memory leak
What is the current behavior?
Minor memory leak via mostRecentCellOutlet
property in CdkCellOutlet
What are the steps to reproduce?
I hope screenshot below is enough to show case this
What is the use-case or motivation for changing an existing behavior?
To save some memory as it holds last outlet reference which potentially could have bigger impact. In my case actual component instance is not released because of this.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
CDK v6.3.3