Skip to content

Commit

Permalink
Fix room async context manager
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Apr 29, 2024
1 parent 22c4dd5 commit 4e61046
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pycrdt_websocket/yroom.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ async def start(
if from_context_manager:
task_status.started()
self.started.set()
self._update_send_stream, self._update_receive_stream = create_memory_object_stream(
max_buffer_size=65536
)
assert self._task_group is not None
self._task_group.start_soon(self._stopped.wait)
self._task_group.start_soon(self._watch_ready)
Expand Down

0 comments on commit 4e61046

Please sign in to comment.