Re: [wake-lock] Add back AbortSignal and fix the counter (#183)

The following is equivalent to `lock.abort()` anyways so a separate method is unnecessary to achieve the same effect,

```js
let controller = new AbortController();
controller.abort();
lock.request({ signal: controller.signal });
```

This feels like clicking the "Start" menu to shut down the computer but it works.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/wake-lock/pull/183#issuecomment-487654036 using your GitHub account

Received on Monday, 29 April 2019 16:43:50 UTC