[Modify] Polish it
This commit is contained in:
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…
Reference in New Issue
Block a user