Skip to content

Instantly share code, notes, and snippets.

Cristian Perez cprcrack

Block or report user

Report or block cprcrack

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cprcrack
cprcrack / gist:b592e0d8905c5706effd
Created Jun 30, 2014
Closures memory leak test
View gist:b592e0d8905c5706effd
var functionRefs = [];
function callMeBack(callback)
{
setTimeout(callback, 100);
functionRefs.push(callback); // If I comment this, the leak dissapears!!! -> But I can't do this, it's handled by Parse
}
You can’t perform that action at this time.