From d8eae58bfd439ec387a01e65f166606facb8fa6f Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 29 Sep 2022 23:49:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiri-engine/Context.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kiri-engine/Context.php b/kiri-engine/Context.php index c9b5b647..8da6349b 100644 --- a/kiri-engine/Context.php +++ b/kiri-engine/Context.php @@ -127,9 +127,7 @@ class Context extends BaseContext */ public static function clearAll(): void { - if (Coroutine::getCid() === -1) { - static::$_contents = []; - } + static::$_contents = []; } /**