The problem with recycling of the same request instance is, it does not
close off previous requests properly. 

> chain example:
> 
> http://jsfiddle.net/6UqAP/15/
> 
> click 3 times in a row, it will call the first, when it finishes another
> will be called and then another.

you can easily reproduce this by pressing several times and you end up
with this:

http://fragged.org/images/recycled-request.gif

i had to deal with this last week and it proved somewhat annoying as i
tried to tackle it through recycling the same instance:
http://stackoverflow.com/questions/3278199/duplicate-ajax-requests-at-random

the point is, if you make a new instance in a closure nn-times, does it
not garbage clean up after use?

best regards,
-- 
Dimitar Christoff <[email protected]> 
blog: http://fragged.org/ twitter: http://twitter.com/D_mitar

Reply via email to