Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC: Noncopyable DisposeBag #2634

Closed

Conversation

nikolaykasyanov
Copy link
Contributor

A proof of concept for #2633.

@@ -26,14 +26,14 @@ extension DisposeBagTest {
let disposable1 = TestDisposable()
let disposable2 = TestDisposable()

var disposeBag: DisposeBag? = DisposeBag()
var disposeBag: DisposeBag = DisposeBag()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Xcode 15, noncopyable types can't be used as generic arguments, so no optional for us. If Xcode 15 compatibility isn't a concern, this and similar changes can be rolled back.

@nikolaykasyanov
Copy link
Contributor Author

Closing as per discussion in #2633.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant