Merge "adb: call run_transport_disconnects() only once."

This commit is contained in:
Yabin Cui 2015-08-28 20:50:07 +00:00 committed by Gerrit Code Review
commit 88a51cd4d8

View file

@ -536,8 +536,6 @@ static void transport_registration_func(int _fd, unsigned ev, void *data)
transport_list.remove(t);
adb_mutex_unlock(&transport_lock);
run_transport_disconnects(t);
if (t->product)
free(t->product);
if (t->serial)