Disconnect sendspin clients to allow clean shutdown (#2887)
authorPaulus Schoutsen <balloob@gmail.com>
Fri, 2 Jan 2026 10:30:48 +0000 (11:30 +0100)
committerGitHub <noreply@github.com>
Fri, 2 Jan 2026 10:30:48 +0000 (11:30 +0100)
commit615d535c0c59a0ca3916ed44f7160021d063f3fa
tree5e4cf42662c50c88184bb2abe13bf697d9eca0d8
parent665b71e6db9bed011424ef7bb6dbf9851cb4a7df
Disconnect sendspin clients to allow clean shutdown (#2887)

I was unable to do a clean shutdown in development when a Sendspin client was connected to the Sendspin server. This PR fixes it.

STR
- Start MA
- Connect sendspin client (I was using sendspin-js)
- Shut down MA using ctrl+C
- Hangs

With this PR: shuts down cleanly
music_assistant/providers/sendspin/provider.py