[Modify] Polish it

This commit is contained in:
sta 2017-02-07 17:05:32 +09:00
parent 65ec869733
commit 8614a891f0

View File

@ -315,11 +315,11 @@ namespace WebSocketSharp.Server
string path, out WebSocketServiceHost host
)
{
lock (_sync) {
path = HttpUtility.UrlDecode (path).TrimEndSlash ();
lock (_sync)
return _hosts.TryGetValue (path, out host);
}
}
internal bool Remove (string path)
{