W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] Worker lifecycle

From: Maciej Stachowiak <mjs@apple.com>
Date: Thu, 28 May 2009 16:56:51 -0700
Message-ID: <69B98A18-E97B-40D5-B4FF-866F8FF93580@apple.com>

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.


-------------- 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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:12 UTC