platform_system_core/adb/client
Josh Gao 01b7bc43e9 adb: move all cleanup to a function with defined ordering.
We want to explicitly define the order in which we teardown adb, so
move all of the at_quick_exits sprinkled throughout into one function
containing all of the cleanup functions.

Bug: http://b/37104408
Test: adb kill-server; adb start-server
Change-Id: I394f5782eb147e394d4b87df1ba364c061de4b90
2017-05-09 14:32:47 -07:00
..
main.cpp adb: move all cleanup to a function with defined ordering. 2017-05-09 14:32:47 -07:00
usb_dispatch.cpp adb: move all cleanup to a function with defined ordering. 2017-05-09 14:32:47 -07:00
usb_libusb.cpp adb: move all cleanup to a function with defined ordering. 2017-05-09 14:32:47 -07:00
usb_linux.cpp adb: use the actual wMaxPacketSize for usb endpoints. 2017-05-03 12:32:39 -07:00
usb_osx.cpp adb: make darwin build with thread safety analysis. 2017-05-04 16:03:12 -07:00
usb_windows.cpp adb: move all cleanup to a function with defined ordering. 2017-05-09 14:32:47 -07:00