commit | cd2039e484e470a463ccf903feed373d10ab86e0 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Feb 19 10:42:40 2016 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Feb 22 15:57:08 2016 -0800 |
tree | 1de5d56ad1262dfc4fe1f27f29fca26830ec6393 | |
parent | b582fa3bd8223ba1cf5936ffcb10e078d4ff13e1 [diff] |
adb: detect when the client disconnects in wait-for-device. Avoid leaking a thread and its associated resources when a user cancels wait-for-device. Bug: http://b/26966721 Bug: https://code.google.com/p/android/issues/detail?id=199088 Change-Id: Idac80a24e9739ddd24e500fe14826a78f350c018 (cherry picked from commit 09855472f421dd249ec2721ad255ffc15acab2c1)