Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Must not expose GC behavior to the web #337

Closed
smaug---- opened this issue Dec 12, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@smaug----
Copy link

commented Dec 12, 2017

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 pushed a commit to pozdnyakov/sensors that referenced this issue Dec 14, 2017

Mikhail Pozdnyakov
Sensor must not expose GC behavior
The Sensor objects which have relevant event listeners need
to stay alive as long as it is possible that the event listener
might get called.

Fixes w3c#337
@pozdnyakov

This comment has been minimized.

Copy link
Contributor

commented Dec 14, 2017

@smaug---- PTAL at #338

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.