Re: [wake-lock] What if WakeLockRequest is garbage collected?

If script can do something that will put the whole system in a broken state until the page is reloaded, I think something is broken.

Would it make sense to have a method on the WakeLock object to release all pending requests?

-- 
GitHub Notification of comment by mounirlamouri
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/128#issuecomment-410863233 using your GitHub account

Received on Monday, 6 August 2018 21:47:18 UTC