mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
Merge pull request #62 from CVertex/patch-3
Properly dispose http server
This commit is contained in:
commit
0e8f08b047
@ -111,6 +111,7 @@ namespace SpotifyAPI.Web.Auth
|
||||
/// </summary>
|
||||
public void StopHttpServer()
|
||||
{
|
||||
_httpServer.Dispose();
|
||||
_httpServer = null;
|
||||
}
|
||||
|
||||
@ -159,4 +160,4 @@ namespace SpotifyAPI.Web.Auth
|
||||
public String State { get; set; }
|
||||
public String Error { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user