Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m_predicate in Display.java causes a memory leak when overriding Display #2

Open
Protuhj opened this issue Feb 8, 2012 · 0 comments

Comments

@Protuhj
Copy link

Protuhj commented Feb 8, 2012

When trying to clean up my memory when using the a class that overrides Display (we use prefuse in an MDI environment), I was seeing that my classes were still held in memory, due to m_predicate in Display.java holding on to my class' reference.

To fix it, I added a method in AbstractExpression.java: removeAllExpressionListeners() that just clears m_listeners, and then call that method when I am cleaning up my Display.

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

No branches or pull requests

1 participant