Skip to content

Commit c58d7de

Browse files
committed
BLE: Fix GattClient destructor by adding a virtual specifier.
1 parent 6a46b9c commit c58d7de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

features/FEATURE_BLE/ble/GattClient.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ class GattClient {
8080
* The following functions are meant to be overridden in the platform-specific sub-class.
8181
*/
8282
public:
83+
84+
virtual ~GattClient() { }
85+
8386
/**
8487
* Launch service discovery. Once launched, application callbacks will be
8588
* invoked for matching services or characteristics. isServiceDiscoveryActive()

0 commit comments

Comments
 (0)