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

Commit 9619e27a authored by Yicheng Fan's avatar Yicheng Fan
Browse files

Remove client from advertiseManager correctly

Bug: 16711409
Change-Id: I3881593818edcf822ec07353da4a5ea6970f5d7c
parent b6495656
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ class AdvertiseManager {
            logd("advertise clients size " + mAdvertiseClients.size());
            if (mAdvertiseClients.contains(client)) {
                mAdvertiseNative.stopAdvertising(client);
                mAdvertiseClients.remove(clientIf);
                mAdvertiseClients.remove(client);
            }
        }