Files
swift-nio/Sources
Cory Benfield 74c924fd01 Apply an autoreleasepool around the task drop (#3638)
Motivation:

Users can write arbitrary code in their deinits, and that arbitrary code
_may_ end up hitting Objective-C autoreleases. We don't want to leak
those objects into the per-thread autoreleasepool, as that may not be
popped for a very long time, if ever, so we need to to ensure that
deiniting the task objects has an autoreleasepool.

Modifications:

Add an autoreleasepool around the task drop, and tests to validate that
we do things correctly.

Result:

Better memory management around deinit
2026-06-24 09:27:31 +01:00
..
2024-09-12 13:18:25 +01:00
2025-10-06 10:58:33 +01:00
2025-05-07 12:24:44 +00:00
2025-05-07 12:24:44 +00:00