Re: [screen-wake-lock] "Release a wake lock": should we queue a task to fire the "release" event? (#293)

I don't understand this algorithm. Is it intentional that the `release` event is always dispatched, even if the OS said no? Usually you queue a task if you want to announce the result of some other thread, but that's not what's happening here. (I.e., flipping the order of step 5 and 6 is a no-op...)

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 1 February 2021 15:18:18 UTC