use executeDelete to prevent leaking BLE handles

This commit is contained in:
geeksville
2020-06-13 11:05:13 -07:00
parent 575a15e135
commit d5deb49d20
2 changed files with 55 additions and 50 deletions

View File

@@ -133,6 +133,7 @@ void stopMeshBluetoothService()
{
assert(meshService);
meshService->stop();
meshService->executeDelete();
}
void destroyMeshBluetoothService()