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