Navigation Menu

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

Must the preference listener be unregistered on shutdown? #17

Open
slopjong opened this issue Mar 25, 2012 · 0 comments
Open

Must the preference listener be unregistered on shutdown? #17

slopjong opened this issue Mar 25, 2012 · 0 comments

Comments

@slopjong
Copy link
Owner

In openspace.jsm a listener is registered to get all the relevant preference changes. The listener is never removed so does this lead to a memory leak?

See:

https://developer.mozilla.org/en/Code_snippets/Preferences
https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIPrefBranch
https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIPrefBranch2

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