Skip to content

Commit da23460

Browse files
author
ushiboy
committed
Fixed crash on delete after disconnect
1 parent 4b38569 commit da23460

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/BLE/src/BLEClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ BLEClient::~BLEClient() {
6060
delete myPair.second;
6161
}
6262
m_servicesMap.clear();
63+
m_servicesMapByInstID.clear();
6364
} // ~BLEClient
6465

6566

0 commit comments

Comments
 (0)