mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 09:59:01 +00:00
fix a nasty sleep bug: we weren't stopping our old mesh service
so it would kinda keep living (along with the recreated one) when we come back from sleep.
This commit is contained in:
parent
bb0b2e72c8
commit
1f07d6735b
@ -332,6 +332,7 @@ BLEService *createMeshBluetoothService(BLEServer *server)
|
||||
void destroyMeshBluetoothService()
|
||||
{
|
||||
assert(meshService);
|
||||
meshService->stop();
|
||||
delete meshService;
|
||||
|
||||
meshFromNumCharacteristic = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user