Skip to content

Commit 5231975

Browse files
authored
fix wrong cross module usage; seems this was not caught by CI / SwiftPM (#981)
1 parent 87c9239 commit 5231975

File tree

1 file changed

+0
-3
lines changed
  • Sources/DistributedActorsConcurrencyHelpers

1 file changed

+0
-3
lines changed

Sources/DistributedActorsConcurrencyHelpers/lock.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ import Darwin
1818
import Glibc
1919
#endif
2020

21-
import CDistributedActorsMailbox // for backtrace
22-
2321
/// A threading lock based on `libpthread` instead of `libdispatch`.
2422
///
2523
/// This object provides a lock on top of a single `pthread_mutex_t`. This kind
@@ -52,7 +50,6 @@ public final class Lock {
5250
public func lock() {
5351
let err = pthread_mutex_lock(self.mutex)
5452
if (err != 0) {
55-
sact_dump_backtrace()
5653
fatalError("\(#function) failed in pthread_mutex with error \(err)")
5754
}
5855
}

0 commit comments

Comments
 (0)