Closed mansatgigset closed 1 year ago
@mansatgigset Thanks for letting us know! Any interest in PRing the fix suggested in that thread? If not we can take care of it, no worries.
@stephencelis As this fix should be compatible further back than what I believe OSAllocatedUnfairLock is supported, it feels better that you come up with a solution you feel confident with.
@mansatgigset I think we can use a simple NSLock
instead :smile: Can you take it for a spin?
Description
We have identified a potential crash in
iterator?.next()
that might be related to this library, with a suggested improvement, see https://github.com/apple/swift/issues/69367.Checklist
main
branch of this package.Expected behavior
No crash
Actual behavior
Crash
Steps to reproduce
See https://github.com/apple/swift/issues/69367
swift-concurrency-extras version information
1.0.0
Destination operating system
Multiple os
Xcode version information
Version 15.0 (15A240d)
Swift Compiler version information