Don't dispose the connection

This commit is contained in:
Claus Vium 2019-03-05 07:41:41 +01:00
parent 0250204f14
commit 17ca23d73b

View file

@ -199,7 +199,8 @@ namespace MediaBrowser.Controller.Net
{
Logger.LogDebug("{1} stop transmitting over websocket to {0}", connection.Item1.RemoteEndPoint, GetType().Name);
connection.Item1.Dispose();
// TODO disposing the connection seems to break websockets in subtle ways, so what is the purpose of this function really...
// connection.Item1.Dispose();
try
{