mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Merge commit '4b7cbbea321fbc920cbd4ab3d9a6f3fe4444d722' into webrtc-m122
This commit is contained in:
commit
6cecef4a11
@ -2999,15 +2999,6 @@ final class PostboxImpl {
|
||||
|
||||
let startTime = CFAbsoluteTimeGetCurrent()
|
||||
|
||||
#if os(macOS)
|
||||
#if DEBUG || BETA
|
||||
var crashDisposable: Disposable?
|
||||
crashDisposable = (Signal<Void, NoError>.single(Void())
|
||||
|> delay(0.1, queue: .concurrentDefaultQueue())).startStandalone(next: { _ in
|
||||
preconditionFailure()
|
||||
})
|
||||
#endif
|
||||
#endif
|
||||
|
||||
self.valueBox.begin()
|
||||
let transaction = Transaction(queue: self.queue, postbox: self)
|
||||
@ -3023,11 +3014,6 @@ final class PostboxImpl {
|
||||
postboxLog("Postbox transaction took \(transactionDuration * 1000.0) ms, from: \(file), on:\(line)")
|
||||
}
|
||||
|
||||
#if os(macOS)
|
||||
#if DEBUG || BETA
|
||||
crashDisposable?.dispose()
|
||||
#endif
|
||||
#endif
|
||||
|
||||
let _ = self.isInTransaction.swap(false)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user