Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : CanJS and Memory Leaks

$
0
0
We should also maybe have made it clear that CanJS doesn't prevent an active control, one currently on an element w/i the document from leaking.  I could easily enough add millions of items to a list and that would of course grow forever.

CanJS only makes it impossible to leak event handlers from discarded controls.




Btw,

code like:


self.statuses = can.extend(self.statuses, statuses);


is very strange.  What are you trying to do there?



Viewing all articles
Browse latest Browse all 3491

Trending Articles