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