Skip to content

Commit 92a2b7c

Browse files
committed
add a comment
1 parent 81ad61c commit 92a2b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: livekit-rtc/livekit/rtc/room.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ async def run_handler():
955955
)
956956
response_error = RpcError._built_in(RpcError.ErrorCode.APPLICATION_ERROR)
957957

958-
assert self._local_participant is not None
958+
assert self._local_participant is not None # _local_participant is guaranteed to be set after connect()
959959
req = proto_ffi.FfiRequest(
960960
rpc_method_invocation_response=RpcMethodInvocationResponseRequest(
961961
local_participant_handle=self._local_participant._ffi_handle.handle,

0 commit comments

Comments
 (0)