Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

mdMenu: fix memory leak on component destroy #3775

Closed
wants to merge 1 commit into from

Conversation

isyun
Copy link
Contributor

@isyun isyun commented Jul 16, 2015

In a recent project, we found out the mdMenu doesn't release the HTML node(and in jqlite.cache) when the mdMenu is destroyed. Moving the remove() call outside of the mdMenuCtrl.isOpen check fixes the memory leak problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant