DescriptionRemove extra call to UsbDeviceHandle::Close in chrome.usb.closeDevice.
When chrome.usb.closeDevice is called the device is explicitly closed in
the extension function implementation and then closed again when the
UsbDeviceResource object is destroyed. Only the latter is necessary as
that covers other ways in which the resource can be released.
Committed: https://crrev.com/db9f276136d0eb947bcc31d1de6d0535400fb741
Cr-Commit-Position: refs/heads/master@{#313605}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|