From: Santiago Soto <81064015+SantiagoSotoC@users.noreply.github.com> Date: Tue, 30 Jan 2024 20:19:15 +0000 (-0300) Subject: Fix async issue in SnapcastProvider (#1054) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=3608eb1c2c393976307b6f15045304f248cfe9a7;p=music-assistant-server.git Fix async issue in SnapcastProvider (#1054) Fix async issue in SnapCastProvider --- 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)."""