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

[whatwg] [EventSource] Garbage collection rules

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 27 Jul 2009 22:32:40 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907272224370.23663@hixie.dreamhostps.com>
On Fri, 10 Jul 2009, Stewart Brodie wrote:
> 
> The GC rules in section 9 seem overly permissive - if there is a 
> listener for message events but the script "forgets" to call close() 
> when the user navigates away, then the resources it is consuming cannot 
> be reclaimed.

Fixed.


> There is a small chance that it may be reclaimed if the server terminates
> the connection and a GC occurs before the UA is able to re-establish the
> connection (i.e. during the reconnection delay or the reconnection) [...]

Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 27 July 2009 15:32:40 UTC

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