Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88a51cd4 authored by Yabin Cui's avatar Yabin Cui Committed by Gerrit Code Review
Browse files

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

parents e73a8a23 12d7f090
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)