mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-28 16:20:56 +08:00
chore: remove outdated comment from cancel_pending_tasks function
This commit is contained in:
@@ -94,7 +94,6 @@ __all__ = [
|
||||
|
||||
|
||||
async def cancel_pending_tasks():
|
||||
"""仅取消 zhenxun 业务协程,避免干扰框架的关机流程。"""
|
||||
loop = asyncio.get_running_loop()
|
||||
current = asyncio.current_task(loop=loop)
|
||||
pending = []
|
||||
|
||||
Reference in New Issue
Block a user