From d6ceac985213e91846380d72887bfe5612ecc192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 22 Apr 2021 12:03:29 +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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/System/Channel.php b/System/Channel.php index d8e2b9e1..c5b8ffc0 100644 --- a/System/Channel.php +++ b/System/Channel.php @@ -33,6 +33,8 @@ class Channel extends Component */ public function push(mixed $value, string $name = '', $length = 999): mixed { + return true; + $channel = $this->channelInit($length, $name); if ($channel->isFull()) { return $this->addError('Channel is full.'); @@ -76,6 +78,8 @@ class Channel extends Component */ public function cleanAll() { + return; + /** @var CChannel $channel */ foreach ($this->_channels as $channel) { $channel->close();