android_system_core/adb/client
Josh Gao 60b8c26520 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
2017-06-05 15:11:53 -07:00
..
main.cpp adb: redirect stdout/stderr before initializing usb. 2017-05-18 13:38:50 -07:00
usb_dispatch.cpp adb: fix darwin build break. 2017-05-10 13:58:51 -07:00
usb_libusb.cpp adb: libusb: don't try to delete a usb_handle twice. 2017-06-05 15:11:53 -07:00
usb_linux.cpp adb: fix darwin build break. 2017-05-10 13:58:51 -07:00
usb_osx.cpp adb: fix darwin build break. 2017-05-10 13:58:51 -07:00
usb_windows.cpp adb: move all cleanup to a function with defined ordering. 2017-05-09 14:32:47 -07:00