From c032120de08d457b96a9f4e12100e826b19438d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 25 Feb 2022 18:59:58 +0800 Subject: [PATCH] modify plugin name --- kiri-engine/Context.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kiri-engine/Context.php b/kiri-engine/Context.php index 8fab6593..7903ddd5 100644 --- a/kiri-engine/Context.php +++ b/kiri-engine/Context.php @@ -135,8 +135,13 @@ class Context extends BaseContext } if (Coroutine::getCid() === -1) { static::$_contents[$id] = null; + + unset(static::$_contents[$id]); + } else { Coroutine::getContext($coroutineId)[$id] = null; + + unset(Coroutine::getContext($coroutineId)[$id]); } }