From efbc2378dc4ffc637b6509d999421c1f43cb3ae8 Mon Sep 17 00:00:00 2001 From: Konrad `ktoso` Malawski Date: Tue, 5 Jul 2022 21:52:59 +0900 Subject: [PATCH] fix wrong cross module usage; seems this was not caught by CI / SwiftPM --- Sources/DistributedActorsConcurrencyHelpers/lock.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/DistributedActorsConcurrencyHelpers/lock.swift b/Sources/DistributedActorsConcurrencyHelpers/lock.swift index 1587a2d20..f8bc61414 100644 --- a/Sources/DistributedActorsConcurrencyHelpers/lock.swift +++ b/Sources/DistributedActorsConcurrencyHelpers/lock.swift @@ -18,8 +18,6 @@ import Darwin import Glibc #endif -import CDistributedActorsMailbox // for backtrace - /// A threading lock based on `libpthread` instead of `libdispatch`. /// /// This object provides a lock on top of a single `pthread_mutex_t`. This kind @@ -52,7 +50,6 @@ public final class Lock { public func lock() { let err = pthread_mutex_lock(self.mutex) if (err != 0) { - sact_dump_backtrace() fatalError("\(#function) failed in pthread_mutex with error \(err)") } }