改名
This commit is contained in:
@@ -81,6 +81,9 @@ class ClientsPool extends Component
|
|||||||
{
|
{
|
||||||
if (env('state') == 'exit') {
|
if (env('state') == 'exit') {
|
||||||
Timer::clear($this->creates);
|
Timer::clear($this->creates);
|
||||||
|
foreach (static::$_connections as $channel) {
|
||||||
|
$this->flush($channel, 0);
|
||||||
|
}
|
||||||
$this->creates = -1;
|
$this->creates = -1;
|
||||||
} else {
|
} else {
|
||||||
$this->heartbeat_flush();
|
$this->heartbeat_flush();
|
||||||
|
|||||||
Reference in New Issue
Block a user