w3c / sensors

Generic Sensor API
https://www.w3.org/TR/generic-sensor/
Other
127 stars 59 forks source link

Must not expose GC behavior to the web #337

Closed smaug---- closed 6 years ago

smaug---- commented 6 years ago

in other words the sensors which have relevant event listeners need to stay alive as long as it is possible that the event listener might get called. This would be similar behavior to WebSockets[1] and such.

https://html.spec.whatwg.org/#garbage-collection-3

pozdnyakov commented 6 years ago

@smaug---- PTAL at https://github.com/w3c/sensors/pull/338