Skip to content

Conversation

@AlexanderS
Copy link
Contributor

This replaces time.sleep with asyncio.sleep. time.sleep blocks the entire execution and prevents any cleanup from occurring, whereas asyncio.sleep pauses the current coroutine, allowing the event loop to schedule the cleanup.

This replaces time.sleep with asyncio.sleep. time.sleep blocks the entire
execution and prevents any cleanup from occurring, whereas asyncio.sleep pauses
the current coroutine, allowing the event loop to schedule the cleanup.
@slhck slhck merged commit 50e7646 into slhck:master Aug 20, 2025
5 checks passed
@slhck
Copy link
Owner

slhck commented Aug 20, 2025

Thanks! Will release tomorrow.

@AlexanderS AlexanderS deleted the async-cleanup branch August 21, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants