[whatwg] [EventSource] Garbage collection rules

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