diff --git a/Sources/Disposable.swift b/Sources/Disposable.swift index 18ec1bcac..3c8f49b2a 100644 --- a/Sources/Disposable.swift +++ b/Sources/Disposable.swift @@ -106,7 +106,7 @@ public final class AnyDisposable: Disposable { /// Create a disposable. public init() { - base = ActionDisposable(nil) + base = _SimpleDisposable() } /// Create a disposable which wraps the given disposable.