[Modify] Polish it

master
sta 9 years ago
parent 65ec869733
commit 8614a891f0

@ -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)
{

Loading…
Cancel
Save