Filed a bug #58921
1 Like
I have opened a PR to fix it - [Concurrency] Handle actor isolation for defers in closures by theblixguy · Pull Request #60688 · apple/swift · GitHub
4 Likes