Re: [web-bluetooth] Object destroyed before request is resolved.

Because of the cache in 
[[[attributeInstanceMap]]](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetooth-attributeinstancemap-slot),
 characteristics aren't destroyed until the global object goes away, 
roughly when the tab is navigated or closed. I can see arguments both 
for and against having the UA avoid subscribing to notifications until
 there's some javascript code around that could observe the 
subscription, but because that delay isn't observable except for the 
delay in a value update, I don't think we need any change to the spec 
to allow it.

Closing, but feel free to re-open if I've missed something.

-- 
GitHub Notification of comment by jyasskin
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/170#issuecomment-178309404
 using your GitHub account

Received on Tuesday, 2 February 2016 02:00:29 UTC