You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In swift-corelibs-foundation, FileHandle(fileDescriptor: fd, closeOnDealloc: false) is calling `close()` when deinit runs. On Darwin, it correctly does not call `close()`.
This fix breaks in Windows so #2944 has been opened to disable the functionality and tests, but only on Windows. It will still work on other platforms.
Additional Detail from JIRA
md5: 5eb42200be9afdbe9a126682aa13b90c
Issue Description:
In swift-corelibs-foundation,
FileHandle(fileDescriptor: fd, closeOnDealloc: false)
is calling `close()` whendeinit
runs. On Darwin, it correctly does not call `close()`.Reproducer:
On Linux, this prints "before". On Darwin, it correctly prints "before\nafter"
The text was updated successfully, but these errors were encountered: