变更
This commit is contained in:
@@ -41,8 +41,9 @@ class Pool extends Component
|
|||||||
*/
|
*/
|
||||||
public function flush($name, $retain_number)
|
public function flush($name, $retain_number)
|
||||||
{
|
{
|
||||||
$channel = $this->channel($name);
|
if ($this->hasChannel($name)) {
|
||||||
$this->pop($channel, $retain_number);
|
$this->pop($this->channel($name), $retain_number);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user