Skip to content

Commit 3daac29

Browse files
committed
[Modify] Remove them
1 parent 9b6c7d3 commit 3daac29

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

websocket-sharp/Net/HttpListener.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public sealed class HttpListener : IDisposable
6565
private Func<HttpListenerRequest, AuthenticationSchemes> _authSchemeSelector;
6666
private string _certFolderPath;
6767
private Queue<HttpListenerContext> _contextQueue;
68-
private object _contextQueueSync;
6968
private LinkedList<HttpListenerContext> _contextRegistry;
7069
private object _contextRegistrySync;
7170
private static readonly string _defaultRealm;
@@ -79,7 +78,6 @@ public sealed class HttpListener : IDisposable
7978
private ServerSslConfiguration _sslConfig;
8079
private Func<IIdentity, NetworkCredential> _userCredFinder;
8180
private Queue<HttpListenerAsyncResult> _waitQueue;
82-
private object _waitQueueSync;
8381

8482
#endregion
8583

@@ -102,7 +100,6 @@ public HttpListener ()
102100
_authSchemes = AuthenticationSchemes.Anonymous;
103101

104102
_contextQueue = new Queue<HttpListenerContext> ();
105-
_contextQueueSync = ((ICollection) _contextQueue).SyncRoot;
106103

107104
_contextRegistry = new LinkedList<HttpListenerContext> ();
108105
_contextRegistrySync = ((ICollection) _contextRegistry).SyncRoot;
@@ -112,7 +109,6 @@ public HttpListener ()
112109
_prefixes = new HttpListenerPrefixCollection (this);
113110

114111
_waitQueue = new Queue<HttpListenerAsyncResult> ();
115-
_waitQueueSync = ((ICollection) _waitQueue).SyncRoot;
116112
}
117113

118114
#endregion

0 commit comments

Comments
 (0)