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
I spent a bit of time trying to find a memory leak in AsyncExtension's AsyncBufferedChannel, and in the end it turned out to be fixed by replacing its use of OrderedSet with Array. Why this fixes the leak I am still investigating.
My branch which uses swift-atomics, new withTaskCancellationHandler() method signature, consolidates some locking and also fixes bug (note the leak occurred before making any of the first three fixes).
I spent a bit of time trying to find a memory leak in AsyncExtension's AsyncBufferedChannel, and in the end it turned out to be fixed by replacing its use of OrderedSet with Array. Why this fixes the leak I am still investigating.
Information
swift-driver version: 1.115 Apple Swift version 6.0.2 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
I haven't tried with main, but there are no differences in
Sources/OrderedCollections/OrderedSet
between 1.1.4 and main.The text was updated successfully, but these errors were encountered: