diff options
| author | Josh Gao <jmgao@google.com> | 2017-06-05 15:08:13 -0700 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2017-06-05 15:11:53 -0700 |
| commit | 60b8c26520922f296a36efb17b8914b6f1e115ea (patch) | |
| tree | 8b65c52d6775fc8df80297dc1256390b6ea0c7f8 /trusty/coverage/coverage_test.cpp | |
| parent | 664a618c069b52d2e03d287d164dfdacd6038489 (diff) | |
adb: libusb: don't try to delete a usb_handle twice.
Previously, we would attempt to delete a usb_handle in both
device_disconnected and usb_close. If the one in device_disconnected
happened to happen first, usb_close would abort when it failed to find
the handle it was supposed to own.
Bug: http://b/62020217
Test: unplugging device on darwin
Change-Id: I6c6bf61bf89a4d9a23458c00b457080d3d6cc744
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
