This commit is contained in:
2021-07-09 10:34:27 +08:00
parent 30b430f1cf
commit cfc847133e
+3
View File
@@ -81,6 +81,9 @@ class ClientsPool extends Component
{
if (env('state') == 'exit') {
Timer::clear($this->creates);
foreach (static::$_connections as $channel) {
$this->flush($channel, 0);
}
$this->creates = -1;
} else {
$this->heartbeat_flush();