diff --git a/bumble/device.py b/bumble/device.py index 93148aed..61594352 100644 --- a/bumble/device.py +++ b/bumble/device.py @@ -2808,7 +2808,7 @@ class Device(CompositeEventEmitter): ) ) - AsyncRunner.spawn(confirm()) + AsyncRunner.spawn(connection.abort_on('disconnection', confirm())) return if io_capability == HCI_DISPLAY_ONLY_IO_CAPABILITY: diff --git a/bumble/pairing.py b/bumble/pairing.py index ba5ef463..eaa44708 100644 --- a/bumble/pairing.py +++ b/bumble/pairing.py @@ -114,7 +114,7 @@ class PairingDelegate: return True async def confirm(self) -> bool: - """Respond yes or not to a Pairing confirmation question.""" + """Respond yes or no to a Pairing confirmation question.""" return True # pylint: disable-next=unused-argument