Skip to content

Commit

Permalink
fix: NSLock subclassing issue
Browse files Browse the repository at this point in the history
Import CoreFoundation as a temporary workaround

ReactiveX#2621
  • Loading branch information
clackary committed Dec 2, 2024
1 parent 8932598 commit dd99c36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Platform/AtomicInt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
// Copyright © 2018 Krunoslav Zaher. All rights reserved.
//

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

final class AtomicInt: NSLock, @unchecked Sendable {
Expand Down

0 comments on commit dd99c36

Please sign in to comment.