Modified a few for EndPointListener.cs

This commit is contained in:
sta 2015-02-25 17:24:10 +09:00
parent 328fd5d43d
commit 47e859f57f

View File

@ -170,10 +170,12 @@ namespace WebSocketSharp.Net
if (_prefixes.Count > 0) if (_prefixes.Count > 0)
return; return;
if (_unhandled != null && _unhandled.Count > 0) var list = _unhandled;
if (list != null && list.Count > 0)
return; return;
if (_all != null && _all.Count > 0) list = _all;
if (list != null && list.Count > 0)
return; return;
EndPointManager.RemoveEndPoint (this); EndPointManager.RemoveEndPoint (this);