mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-10 22:30:02 +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():
|
async def cancel_pending_tasks():
|
||||||
"""仅取消 zhenxun 业务协程,避免干扰框架的关机流程。"""
|
|
||||||
loop = asyncio.get_running_loop()
|
loop = asyncio.get_running_loop()
|
||||||
current = asyncio.current_task(loop=loop)
|
current = asyncio.current_task(loop=loop)
|
||||||
pending = []
|
pending = []
|
||||||
|
|||||||
Reference in New Issue
Block a user