Skip to content

Commit

Permalink
SpotifyService: Add missing Shutdown calls
Browse files Browse the repository at this point in the history
  • Loading branch information
lookeypl committed Feb 6, 2025
1 parent d92c9bb commit d7d3430
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions LukeBot.Spotify/SpotifyService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,18 @@ public void Run()

public void RequestShutdown()
{
// noop
foreach (SpotifyUserModule um in mModules.Values)
{
um.RequestShutdown();
}
}

public void WaitForShutdown()
{
// noop
foreach (SpotifyUserModule um in mModules.Values)
{
um.WaitForShutdown();
}
}
}
}

0 comments on commit d7d3430

Please sign in to comment.