mirror of
https://github.com/esphome/esphome.git
synced 2025-10-22 19:53:46 +01:00
Fix descriptors not being deleted (#4104)
This commit is contained in:
@@ -109,8 +109,7 @@ void BluetoothProxy::loop() {
|
||||
// after sending them to save memory. If something actually needs them
|
||||
// it can parse them again.
|
||||
for (auto &characteristic : service->characteristics) {
|
||||
characteristic->parsed = false;
|
||||
characteristic->descriptors.clear();
|
||||
characteristic->release_descriptors();
|
||||
}
|
||||
connection->send_service_++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user