In my app I dynamically create angular material tabs, which each contain a kendo grid.
The problem is when a tab is closed, by clicking on the X in its header, the memory isn't garbage collected. I am implementing ngOnDestroy in my dynamic components and observable subscriptions are cleaned up here. I am also calling ComponentRef.destroy() to ensure the component is destroyed and can confirm ngOnDestroy() is getting called in the dynamically created copmonents. However the memory from the destroyed component isn't being released.
Is there any special cleanup required by Kendo Grid to release memory? Please advise.
Thank you.