@@ -437,7 +437,7 @@ async def disconnect(self) -> None:
437437 return
438438
439439 await self ._drain_rpc_invocation_tasks ()
440- await self ._drain_data_stream__tasks ()
440+ await self ._drain_data_stream_tasks ()
441441
442442 req = proto_ffi .FfiRequest ()
443443 req .disconnect .room_handle = self ._ffi_handle .handle # type: ignore
@@ -478,7 +478,7 @@ async def _listen_task(self) -> None:
478478
479479 # Clean up any pending RPC invocation tasks
480480 await self ._drain_rpc_invocation_tasks ()
481- await self ._drain_data_stream__tasks ()
481+ await self ._drain_data_stream_tasks ()
482482
483483 def _on_rpc_method_invocation (self , rpc_invocation : RpcMethodInvocationEvent ):
484484 if self ._local_participant is None :
@@ -782,7 +782,6 @@ def _handle_stream_header(
782782 self ._text_stream_readers [header .stream_id ] = text_reader
783783 text_stream_handler (text_reader , participant_identity )
784784 elif stream_type == "byte_header" :
785- logging .warning ("received byte header, %s" , header .stream_id )
786785 byte_stream_handler = self ._byte_stream_handlers .get (header .topic )
787786 if byte_stream_handler is None :
788787 logging .info (
@@ -824,7 +823,7 @@ async def _drain_rpc_invocation_tasks(self) -> None:
824823 task .cancel ()
825824 await asyncio .gather (* self ._rpc_invocation_tasks , return_exceptions = True )
826825
827- async def _drain_data_stream__tasks (self ) -> None :
826+ async def _drain_data_stream_tasks (self ) -> None :
828827 if self ._data_stream_tasks :
829828 for task in self ._data_stream_tasks :
830829 task .cancel ()
0 commit comments