mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Signals
This commit is contained in:
@@ -24,7 +24,11 @@ public func |> <T, U>(value: T, function: ((T) -> U)) -> U {
|
||||
}
|
||||
|
||||
private final class SubscriberDisposable<T, E>: Disposable, CustomStringConvertible {
|
||||
#if DEBUG
|
||||
private weak var subscriber: Subscriber<T, E>?
|
||||
#else
|
||||
private var subscriber: Subscriber<T, E>?
|
||||
#endif
|
||||
|
||||
private var lock = pthread_mutex_t()
|
||||
private var disposable: Disposable?
|
||||
|
||||
Reference in New Issue
Block a user