From 3608eb1c2c393976307b6f15045304f248cfe9a7 Mon Sep 17 00:00:00 2001 From: Santiago Soto <81064015+SantiagoSotoC@users.noreply.github.com> Date: Tue, 30 Jan 2024 17:19:15 -0300 Subject: [PATCH] Fix async issue in SnapcastProvider (#1054) Fix async issue in SnapCastProvider --- music_assistant/server/providers/snapcast/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/server/providers/snapcast/__init__.py b/music_assistant/server/providers/snapcast/__init__.py index b624a2ae..fcd2f31a 100644 --- a/music_assistant/server/providers/snapcast/__init__.py +++ b/music_assistant/server/providers/snapcast/__init__.py @@ -193,7 +193,7 @@ class SnapCastProvider(PlayerProvider): """Handle close/cleanup of the provider.""" for client in self._snapserver.clients: await self.cmd_stop(client.identifier) - self._snapserver.stop() + await self._snapserver.stop() async def get_player_config_entries(self, player_id: str) -> tuple[ConfigEntry]: """Return all (provider/player specific) Config Entries for the given player (if any).""" -- 2.34.1