改名
This commit is contained in:
@@ -39,10 +39,14 @@ trait Timeout
|
||||
protected function flush($retain_number)
|
||||
{
|
||||
$channels = $this->getChannels();
|
||||
|
||||
$names = [];
|
||||
foreach ($channels as $name => $channel) {
|
||||
$names[] = $name;
|
||||
$this->pop($channel, $name, $retain_number);
|
||||
}
|
||||
if ($retain_number == 0) {
|
||||
$this->debug('release ' . implode(',', $names));
|
||||
$this->debug('release Timer::tick');
|
||||
Timer::clear($this->creates);
|
||||
$this->creates = -1;
|
||||
|
||||
Reference in New Issue
Block a user