WICG / webusb

Connecting hardware to the web.
https://wicg.github.io/webusb/
Other
1.3k stars 126 forks source link

Allow redundant calls to claimInterface() and releaseInterface() #163

Closed reillyeon closed 5 years ago

reillyeon commented 5 years ago

This change updates the steps for claimInterface() and releaseInterface() so that calls requesting the state that the device is already in cause the Promise returned to be resolved without any further action taken.

Fixes #162.


Preview | Diff