[whatwg] Worker lifecycle

On May 28, 2009, at 1:08 PM, Ian Hickson wrote:

> On Thu, 28 May 2009, Maciej Stachowiak wrote:
>
>
>> If so, that seems like it could create unbounded memory leaks in
>> long-running Web applications that use MessagePorts, even if all
>> references to both endpoints of the MessageChannel are dropped. That
>> seems unacceptable to me, unless I misunderstood.
>
> The requirement is actually indistinguishable from the UA using the  
> other
> alternative and just having a really slow garbage collector that  
> only runs
> at page-closing time.

So it's exactly equivalent to the old requirement, except the spec now  
specifically points out that you can just leak forever instead. I  
don't think that addresses the original concern at all.

Regards,
Maciej

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090528/726f3720/attachment.htm>

Received on Thursday, 28 May 2009 16:56:51 UTC