From fcf1c633d5fc5a8cc81a8d35cb8ab7e43111d481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=CC=81o=20Monnom?= Date: Sun, 5 May 2024 20:27:25 +0200 Subject: [PATCH] Update room.py --- livekit-rtc/livekit/rtc/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livekit-rtc/livekit/rtc/room.py b/livekit-rtc/livekit/rtc/room.py index b8aaf73b..ffee595c 100644 --- a/livekit-rtc/livekit/rtc/room.py +++ b/livekit-rtc/livekit/rtc/room.py @@ -222,7 +222,7 @@ async def disconnect(self) -> None: if self._task is not None: with contextlib.suppress(asyncio.CancelledError): await self._task - + if self._ffi_queue is not None: FfiClient.instance.queue.unsubscribe(self._ffi_queue)