mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 04:37:46 +08:00
Fixed variable $channel might not be defined.
This commit is contained in:
parent
fec3e1ec2a
commit
d3b32aac86
@ -43,8 +43,8 @@ class Caller
|
||||
public function call(Closure $closure)
|
||||
{
|
||||
$release = true;
|
||||
$channel = $this->channel;
|
||||
try {
|
||||
$channel = $this->channel;
|
||||
$instance = $channel->pop($this->waitTimeout);
|
||||
if ($instance === false) {
|
||||
if ($channel->isClosing()) {
|
||||
|
Loading…
Reference in New Issue
Block a user