[Modify] Do not clear it
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user