Skip to content

Improve stop semantics for connections#370

Merged
amyreese merged 1 commit intoomnilib:mainfrom
amyreese:stopping
Dec 23, 2025
Merged

Improve stop semantics for connections#370
amyreese merged 1 commit intoomnilib:mainfrom
amyreese:stopping

Conversation

@amyreese
Copy link
Member

@amyreese amyreese commented Dec 17, 2025

  • Promote _stop_running() to stop() and ensure it works without an
    active event loop.
  • If the connection is still active when stopping the background thread,
    call close on the connection before stopping.
  • Add test cases
  • Clean up some types

- Promote `_stop_running()` to `stop()` and ensure it works without an
  active event loop.
- If the connection is still active when stopping the background thread,
  call close on the connection before stopping.
- Add test cases
- Clean up some types
@amyreese amyreese merged commit 5c3f61c into omnilib:main Dec 23, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments