Le 03/11/2013 12:49, Jorge Chamorro a écrit :
When would be the right time to free(something)?

What would `something` be after the call to free(), null?

What if `something` isn't the only reference to the thing?
I don't think Bobby was suggesting the addition of a free function or operator. This discussion already happened [1] and the outcome was that this won't happen, precisely because the questions you ask have no good answers.

Bobby was making a reference to Cu.nukeSandbox (which I don't know about so I'll read about it before saying more).

David

[1] https://mail.mozilla.org/pipermail/es-discuss/2012-October/026007.html
_______________________________________________
dev-tech-js-engine-internals mailing list
dev-tech-js-engine-internals@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to