On 2/17/16 8:30 AM, Joris van der Wel wrote:
XMLHttpRequest, fetch, WebSocket, etc would even require a something
similar to a phantom reference (like in java) so that we can close the
connection when the object is no longer strongly or weakly referenced.

None of these allow closing the connection merely because the object is not referenced from elsewhere.

Or put another way, the connection must hold a reference to the object.

-Boris
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to