I agree with the methodology of removing code until it doesn't leak, but I thought that was what I had done.
Also, I thought the fiddle was pretty simple. All I am doing is calling findAll, populating a small piece of DOM and then
polling. Each poll just recalls findAll and should just update the DOM.
What do I really need to pull out? The potential leak seems to be either the doTimeout of what the doTimeout executes,
which is a findAll call.
Just trying to understand this all as the polling is a requirement of my app and Socket.IO is not a possibility.
Thanks for at least trying to point me in the right direction. I will try and see what I can uncover.