summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-04-03 12:55:18 -0700
committerJosh Gao <jmgao@google.com>2018-04-03 13:58:21 -0700
commitc251ec55d3e4ed3647b8631bb09d00a2666d17a9 (patch)
tree01207650ddf8ce4476b3c8640a239895941a141c /libutils/Unicode.cpp
parenta10d40e2b2a6132b7e06397f62ac07a4d9bfb5e1 (diff)
adb: don't abort when connecting to the same address twice.
When connecting to an address, we construct a transport first, and then check whether we've already connected to that address. The consequent destruction of the BlockingConnectionAdapter attempts to join threads that haven't been started, which aborts. Make it safe to destruct a BlockingConnectionAdapter without calling Start on it first, to solve this. Bug: http://b/69137547 Test: nc -l 12345 & (adb connect localhost:12345; adb connect localhost:12345) Test: python test_adb.py Change-Id: I6cb968a62dbac6332907e06575893d764905ee62
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions