mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2026-01-28 18:12:24 +01:00
Bugfixes + add new NimBLEUUID constructor.
This commit is contained in:
@@ -74,7 +74,7 @@ NimBLEClient::~NimBLEClient() {
|
||||
// Before we are finished with the client, we must release resources.
|
||||
clearServices();
|
||||
|
||||
if(m_deleteCallbacks) {
|
||||
if(m_deleteCallbacks && m_pClientCallbacks != &defaultCallbacks) {
|
||||
delete m_pClientCallbacks;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user