Comparing refactor/ruff-lints...dev · hydrogram/hydrogram
-
-
Notifications
You must be signed in to change notification settings - Fork 52
base repository: hydrogram/hydrogram
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: refactor/ruff-lints
head repository: hydrogram/hydrogram
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
- 5 commits
- 9 files changed
- 1 contributor
Commits on Mar 21, 2026
Commits on Mar 22, 2026
-
fix(session): prevent race condition during connection cleanup
Reorder the stop() method to cancel recv_task BEFORE closing the connection. Previously, closing the connection first would set asyncio transport callbacks to None while recv_worker() might still be reading, causing 'TypeError: NoneType object is not callable' in _SelectorSocketTransport._read_ready().