mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
This is a follow up from the "async" `deinit` work, which will allow us to guarantee cleanup code to run in deinitializers, even if they need to call asynchronous code, and even if they may be run in a task that was cancelled: by "shielding" it from cancellation. This is incomplete, the child handling needs some more love. SE proposal: https://github.com/swiftlang/swift-evolution/pull/3037/