diff --git a/SpotifyAPI/Web/Auth/AutorizationCodeAuth.cs b/SpotifyAPI/Web/Auth/AutorizationCodeAuth.cs index dbf98cbfd..ebf39d953 100644 --- a/SpotifyAPI/Web/Auth/AutorizationCodeAuth.cs +++ b/SpotifyAPI/Web/Auth/AutorizationCodeAuth.cs @@ -111,6 +111,7 @@ private void HttpServerOnOnAuth(AuthEventArgs e) /// public void StopHttpServer() { + _httpServer.Dispose(); _httpServer = null; } @@ -159,4 +160,4 @@ public struct AutorizationCodeAuthResponse public String State { get; set; } public String Error { get; set; } } -} \ No newline at end of file +}