提交 de73854c 编写于 作者: J Jared Parsons

PR feedback

上级 e29a5f88
......@@ -101,7 +101,7 @@ public void EndListening()
}
catch (Exception ex)
{
CompilerServerLogger.LogException(ex, $"Listen tasks threw exception during nameof(EndListening");
CompilerServerLogger.LogException(ex, $"Listen tasks threw exception during {nameof(EndListening)}");
}
_queue.Complete();
......
......@@ -82,7 +82,6 @@ internal static void DisposeAll()
return;
}
var list = new List<(string PipeName, Socket Socket)>();
var servers = GetSharedServersDictionary();
lock (servers)
......@@ -93,7 +92,6 @@ internal static void DisposeAll()
var sharedServer = e.Value!;
var socket = GetSocket(sharedServer);
socket.Dispose();
list.Add(((string)e.Key!, socket));
}
servers.Clear();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册