Skip to content

Conversation

rng0x17
Copy link
Contributor

@rng0x17 rng0x17 commented Nov 27, 2019

Calling the destructor or disconnect of BLEClient causes a heap corruption.

This is due of the destructor of the BLERemoteService:
The removeCharacteristics() method tries to delete the same characteristic twice, one time per map where its pointer is stored in.

@rng0x17 rng0x17 changed the title removed double delete of characteristics BLE: removed double delete of characteristics Nov 27, 2019
@TheNitek
Copy link
Contributor

Any chance to get this merged? It's currently impossible to "delete" a BLEClient, so memory leaks are unavoidable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants