[Modify] Do not clear it
This commit is contained in:
parent
c7b1657ec7
commit
d41f87406d
@ -364,7 +364,6 @@ namespace WebSocketSharp.Server
|
|||||||
foreach (var host in _hosts.Values)
|
foreach (var host in _hosts.Values)
|
||||||
host.Stop (code, reason);
|
host.Stop (code, reason);
|
||||||
|
|
||||||
_hosts.Clear ();
|
|
||||||
_state = ServerState.Stop;
|
_state = ServerState.Stop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user