Re: [sensors] Garbage collection behavior unclear in Generic Sensor spec

Yeah, I am a bit confuse on this. 

> If a Sensor is in the activated state without an onreading handler, it is eligible for collection. 

As my understanding, spec does not explicitly state this. it only says that if an "activated" or "activating" Sensor object is eligible for garbage collection, the UA must deactivate the Sensor object. But not state the exact condition when a Sensor object must be garbage collected. @rakuco, @anssiko, could you pls. confirm this?





-- 
GitHub Notification of comment by Honry
Please view or discuss this issue at https://github.com/w3c/sensors/issues/372#issuecomment-423388070 using your GitHub account

Received on Friday, 21 September 2018 01:50:02 UTC