Skip to content

Commit b5a0ba4

Browse files
committed
fix: NSLock subclassing issue
Import CoreFoundation as a temporary workaround ReactiveX#2621 (cherry picked from commit dd99c36)
1 parent c7c7d2c commit b5a0ba4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Platform/AtomicInt.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// Copyright © 2018 Krunoslav Zaher. All rights reserved.
77
//
88

9+
import CoreFoundation
10+
// This CoreFoundation import can be dropped when this issue is resolved:
11+
// https://github.com/swiftlang/swift-corelibs-foundation/pull/5122
912
import Foundation
1013

1114
final class AtomicInt: NSLock, @unchecked Sendable {

0 commit comments

Comments
 (0)