[Modify] Polish it
This commit is contained in:
parent
43a0b57efe
commit
48dafac5a1
@ -472,6 +472,7 @@ namespace WebSocketSharp.Server
|
|||||||
|
|
||||||
lock (_sync) {
|
lock (_sync) {
|
||||||
hosts = _hosts.Values.ToList ();
|
hosts = _hosts.Values.ToList ();
|
||||||
|
|
||||||
_hosts.Clear ();
|
_hosts.Clear ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user