Skip to content

Commit 3d98486

Browse files
committed
[gardening] Use _SimpleDisposable in AnyDisposable
1 parent 5a0c2a4 commit 3d98486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Disposable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public final class AnyDisposable: Disposable {
106106

107107
/// Create a disposable.
108108
public init() {
109-
base = ActionDisposable(nil)
109+
base = _SimpleDisposable()
110110
}
111111

112112
/// Create a disposable which wraps the given disposable.

0 commit comments

Comments
 (0)