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