Update apps and examples to await .terminated

This commit is contained in:
Dennis Heinze
2026-01-24 00:20:55 +01:00
parent 3f9ef5aac2
commit 49530d8d6d
23 changed files with 23 additions and 23 deletions

View File

@@ -421,7 +421,7 @@ async def run(device_config, hci_transport, bridge):
await bridge.start(device)
# Wait until the transport terminates
await hci_source.wait_for_termination()
await hci_source.terminated
except core.ConnectionError as error:
print(color(f"!!! Bluetooth connection failed: {error}", "red"))
except Exception as error: