code_junkie

How do I track and debug JavaScript memory leaks in Firefox?

Nov 11th, 2011
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. ...
  2.  
  3. if (ads.length > 0)
  4. {
  5. this.imagesFx = new Fx.Elements(elements,
  6. {
  7. wait: false,
  8. duration: 1000
  9. });
  10. this.moveNext.periodical(2500, this);
  11. }
  12.  
  13. elements = null; //Add THIS!
  14. }
Add Comment
Please, Sign In to add comment