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

Quick Open leaks memory on each invocation #1550

Closed
peterflynn opened this issue Sep 5, 2012 · 2 comments
Closed

Quick Open leaks memory on each invocation #1550

peterflynn opened this issue Sep 5, 2012 · 2 comments

Comments

@peterflynn
Copy link
Member

  1. Add a console.log() in the "focusin click" listener in jquery.smart_autocomplete.js
  2. Open and immediately close Quick Open 5 times
  3. Click in the editor area

Result: 5 console logs per click

Expected: 0, or at most 1, log per click

I think this is a pretty small leak (though it's impossible to quantify because the "heap snapshot" developer tools feature appears to be broken in CEF 3). But looking at what's actually referenced in the closure, I don't think a whole lot is actually retained.

@ghost ghost assigned peterflynn Sep 5, 2012
@pthiess
Copy link
Contributor

pthiess commented Sep 11, 2012

Reviewed - please consider if this was a starter bug.

@peterflynn
Copy link
Member Author

Fixed in 1.3

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

No branches or pull requests

2 participants