From ae358dd6d091ec61d71dc77f34ab0f82386a25e8 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Fri, 16 Feb 2024 13:08:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=98=A8=E5=A4=A9=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84shutdown=5Ftrigger=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/platform/sources/aiocqhttp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/platform/sources/aiocqhttp.py b/pkg/platform/sources/aiocqhttp.py index e98034f3..9cbc3502 100644 --- a/pkg/platform/sources/aiocqhttp.py +++ b/pkg/platform/sources/aiocqhttp.py @@ -209,7 +209,8 @@ class AiocqhttpAdapter(adapter.MessageSourceAdapter): self.config = config async def shutdown_trigger_placeholder(): - return None + while True: + await asyncio.sleep(1) self.config['shutdown_trigger'] = shutdown_trigger_placeholder