[Modify] Polish it

master
sta 5 years ago
parent 5bbcac08e0
commit 430173bf43

@ -186,6 +186,7 @@ namespace WebSocketSharp.Net
{ {
lock (((ICollection) _endpoints).SyncRoot) { lock (((ICollection) _endpoints).SyncRoot) {
EndPointListener lsnr; EndPointListener lsnr;
if (!_endpoints.TryGetValue (endpoint, out lsnr)) if (!_endpoints.TryGetValue (endpoint, out lsnr))
return false; return false;

Loading…
Cancel
Save