summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-08-28 11:39:37 -0700
committerYabin Cui <yabinc@google.com>2015-08-28 11:39:37 -0700
commit12d7f0909a4332c0f03ea0bd49741cc6c46a2353 (patch)
tree6f6ccb20f2615f76136f7708327e6523b7bd60fd /base/errors_unix.cpp
parent2c58af52232f0c8b4ab09d75eba66d1283805cab (diff)
adb: call run_transport_disconnects() only once.
Currently run_transport_disconnects() are called twice. One is in handle_offline(), another is before destroying transport. The users of disconnect callback are listener, adb_auth_client, and remote_sockets. All of them need only to be called once. And after handle_offline, no new listeners, adb_auth_client, or remote_sockets can be connected to the offlined transport. So I think we can remove the second call to run_transport_disconnects(). Change-Id: I1ef8b6b7b5ab7ae1bad109be107c85973d65a2e3
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions