diff --git a/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs b/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs index ada2a98a1..fc94d070a 100644 --- a/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs +++ b/MediaBrowser.Api/Playback/StaticRemoteStreamWriter.cs @@ -40,7 +40,10 @@ namespace MediaBrowser.Api.Playback /// The response stream. public void WriteTo(Stream responseStream) { - _response.Content.CopyTo(responseStream, 819200); + using (_response) + { + _response.Content.CopyTo(responseStream, 819200); + } } } }