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 = []; } /**