From b767f3acb2212868b3b9eaff3d193c6ffbf79cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 16 Apr 2021 14:02:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Channel.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/System/Channel.php b/System/Channel.php index 260d9987..d8e2b9e1 100644 --- a/System/Channel.php +++ b/System/Channel.php @@ -93,6 +93,8 @@ class Channel extends Component */ public function pop(string $name, Closure $closure, int|float $timeout = null, int $length = 999): mixed { + return call_user_func($closure); + if (($channel = $this->channelInit($length, $name)) == false) { return $this->addError('Channel is full.'); }