diff --git a/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker.cc b/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker.cc index 96564f0c..e3220cf3 100644 --- a/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker.cc +++ b/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker.cc @@ -903,6 +903,7 @@ void DiscoveredPeripheralTracker::FetchRawAdvertisementsInThread( LOG(WARNING) << ": Ignore the fetched GATT advertisement from server due to it " "is not interesting header now."; + fetching_advertisements_.erase(advertisement_header); return; }