[chrome.usb] Clear device on connection error
When a USB device is disconnected Mojo connections to it are closed. The UsbDeviceResource object should listen for this connection failures and clear the InterfacePtr as otherwise calls are still allowed but their callbacks will never be executed. Bug: 968111 Change-Id: I9e704b8b9bf0c067167374bb9910f83d566cdb7b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636725Reviewed-by:Ken Rockot <rockot@google.com> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#665029}
Showing
Please register or sign in to comment