mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
8f14263fd5
The `Task` class was missing a destructor to close pipe file descriptors when destroyed. This caused file descriptor exhaustion after ~2,187 test runs, making tests fail with POLLNVAL errors when the system ran out of resources. This was found with: ``` ./unittests/Basic/SwiftBasicTests --gtest_filter="TaskQueueTest.*" --gtest_repeat=1000 ```