Skip to content

Commit d1c3b6c

Browse files
committed
[Modify] Remove them
1 parent 28e5c28 commit d1c3b6c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

websocket-sharp/Net/HttpListener.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ public sealed class HttpListener : IDisposable
6464
private AuthenticationSchemes _authSchemes;
6565
private Func<HttpListenerRequest, AuthenticationSchemes> _authSchemeSelector;
6666
private string _certFolderPath;
67-
private Dictionary<HttpConnection, HttpConnection> _connections;
68-
private object _connectionsSync;
6967
private Queue<HttpListenerContext> _contextQueue;
7068
private object _contextQueueSync;
7169
private LinkedList<HttpListenerContext> _contextRegistry;
@@ -103,9 +101,6 @@ public HttpListener ()
103101
{
104102
_authSchemes = AuthenticationSchemes.Anonymous;
105103

106-
_connections = new Dictionary<HttpConnection, HttpConnection> ();
107-
_connectionsSync = ((ICollection) _connections).SyncRoot;
108-
109104
_contextQueue = new Queue<HttpListenerContext> ();
110105
_contextQueueSync = ((ICollection) _contextQueue).SyncRoot;
111106

0 commit comments

Comments
 (0)