Skip to content

Commit fc0cced

Browse files
committed
typo
1 parent 98511ea commit fc0cced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

livekit-rtc/livekit/rtc/room.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ async def disconnect(self) -> None:
404404
return
405405

406406
await self._drain_rpc_invocation_tasks()
407-
await self._data_stream_tasks()
407+
await self._drain_data_stream__tasks()
408408

409409
req = proto_ffi.FfiRequest()
410410
req.disconnect.room_handle = self._ffi_handle.handle # type: ignore
@@ -445,7 +445,7 @@ async def _listen_task(self) -> None:
445445

446446
# Clean up any pending RPC invocation tasks
447447
await self._drain_rpc_invocation_tasks()
448-
await self._data_stream_tasks()
448+
await self._drain_data_stream__tasks()
449449

450450
def _on_rpc_method_invocation(self, rpc_invocation: RpcMethodInvocationEvent):
451451
if self._local_participant is None:

0 commit comments

Comments
 (0)