[whatwg] WebSocket: garbage collection

Simon Pieters simonp at opera.com
Tue Apr 20 07:00:36 PDT 2010


[[
WebSocket object with an open connection must not be garbage collected if  
there are any event listeners registered for message events.
]]

Shouldn't it also not be garbage collected if there are listeners for  
open, error and close? What about when the connection is not yet  
established?

-- 
Simon Pieters
Opera Software


More information about the whatwg mailing list