Skip to content

tiny cleanup#176

Open
balloob-travel wants to merge 1 commit intoSendspin:mainfrom
balloob-travel:codex/tiny-cleanup
Open

tiny cleanup#176
balloob-travel wants to merge 1 commit intoSendspin:mainfrom
balloob-travel:codex/tiny-cleanup

Conversation

@balloob-travel
Copy link
Contributor

Summary

  • let AudioStreamHandler own its client listener lifecycle instead of returning unsubscribe callbacks
  • rename the disconnect lifecycle helpers to handle_disconnect() and shutdown()
  • centralize disconnect handling in daemon and TUI so reconnect cleanup is less ad hoc

Testing

  • uv run pytest tests/test_audio_connector.py tests/test_decoder.py
  • uv run ruff check sendspin/audio_connector.py sendspin/daemon/daemon.py sendspin/tui/app.py tests/test_audio_connector.py
  • uv run mypy sendspin

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.

2 participants