Skip to content

Commit 69ef4f9

Browse files
committed
none
1 parent 4a62dec commit 69ef4f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

livekit-rtc/livekit/rtc/room.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,9 @@ async def _listen_task(self) -> None:
444444
await self._room_queue.join()
445445

446446
def _on_rpc_method_invocation(self, rpc_invocation: RpcMethodInvocationEvent):
447+
if self._local_participant is None:
448+
return
449+
447450
if (
448451
rpc_invocation.local_participant_handle
449452
== self._local_participant._ffi_handle.handle

0 commit comments

Comments
 (0)