From e5e57c3020e74d2e098642a96ff498a27a0ca38a Mon Sep 17 00:00:00 2001 From: mrnikbobjeff Date: Wed, 21 Oct 2015 13:18:57 +0200 Subject: [PATCH] Removed infinite loop in dispose call Imporved spelling in new commits --- SpotifyAPI/Local/SpotifyLocalAPI.cs | 2 +- SpotifyAPI/Web/SimpleHttpServer.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/SpotifyAPI/Local/SpotifyLocalAPI.cs b/SpotifyAPI/Local/SpotifyLocalAPI.cs index a09c8b0d..ac2f32ef 100644 --- a/SpotifyAPI/Local/SpotifyLocalAPI.cs +++ b/SpotifyAPI/Local/SpotifyLocalAPI.cs @@ -199,7 +199,7 @@ namespace SpotifyAPI.Local /// /// Sets the Volume Mixer volume (requires Windows 7 or newer) /// - /// A Value between 0 and 100 + /// A value between 0 and 100 public void SetSpotifyVolume(float volume = 100) { Contract.Requires(0 <= volume && volume <= 100); diff --git a/SpotifyAPI/Web/SimpleHttpServer.cs b/SpotifyAPI/Web/SimpleHttpServer.cs index 8c7d41fc..7dcc7a20 100644 --- a/SpotifyAPI/Web/SimpleHttpServer.cs +++ b/SpotifyAPI/Web/SimpleHttpServer.cs @@ -203,7 +203,6 @@ namespace SpotifyAPI.Web { IsActive = false; _listener.Stop(); - Dispose(); GC.SuppressFinalize(this); }