Skip to content

Commit 5767ec3

Browse files
committed
Cancel all tasks when finally closing
1 parent 7c60274 commit 5767ec3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
# v3.0.1
8+
9+
### Fixed
10+
11+
- A lot of bugs with `thread_auto_close` 😅
12+
13+
714
# v3.0.0
815

916
### Added

core/thread.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ async def _close(
230230
):
231231
del self.manager.cache[self.id]
232232

233-
await self.cancel_closure()
233+
await self.cancel_closure(all=True)
234234

235235
# Cancel auto closing the thread if closed by any means.
236236

0 commit comments

Comments
 (0)