mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The issue was that in three tests, the `Args` arrays were being declared inside for loops. When `TQ.addTask()` was called, it stored a pointer to the `Args` array. As the `Args` array was declared in the loop, it would go out of scope at the end of each iteration whilst `TaskQueue` held a pointer to it.
9.9 KiB
9.9 KiB