From 6aa1f5211c9391b3c5c15d0ff67159170c297617 Mon Sep 17 00:00:00 2001 From: markus Date: Fri, 26 Sep 2025 11:13:52 +0200 Subject: [PATCH] use local cis_link.handle to the pop the dict --- bumble/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumble/device.py b/bumble/device.py index 769398c5..f7a20e16 100644 --- a/bumble/device.py +++ b/bumble/device.py @@ -4743,7 +4743,7 @@ class Device(utils.CompositeEventEmitter): } def on_cis_establishment(cis_link: CisLink) -> None: - self._pending_cis.pop(cis_handle) + self._pending_cis.pop(cis_link.handle) if pending_future := pending_cis_establishments.get(cis_link.handle): pending_future.set_result(cis_link)