On Fri, Jan 2, 2015 at 4:11 AM, Naja Melan <[email protected]> wrote:

> Does that mean that the globals of the content script will automatically
> be cleaned up if the tab is closed


No.


> or is it just a technicality of the GC and do you still have to do cleanup?


Correct (as in, you need to stop holding references to the sandbox, or use
Cu.nukeSandbox.


> Eg. compared to being in the same zone of the window or not, what exactly
> happens differently?
>

It's basically just a hint for the GC so that it can organize the heap in a
way that large chunks of contiguous data can be freed simultaneously.
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to