Skip to content

1.x: fix Completable.using not disposing the resource if the factory crashes during the subscription phase. #3585

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

Merged
merged 1 commit into from
Jan 12, 2016

Conversation

akarnokd
Copy link
Member

This PR fixes the cases when the Completable factory throws an exception
or returns null and the resource is not disposed before reporting error
to the subscriber.

crashes during the subscription phase.

This PR fixes the cases when the Completable factory throws an exception
or returns null and the resource is not disposed before reporting error
to the subscriber.
@akarnokd akarnokd added the Bug label Dec 21, 2015
@akarnokd akarnokd added this to the 1.1 milestone Dec 21, 2015
@artem-zinnatullin
Copy link
Contributor

👍

1 similar comment
@zsxwing
Copy link
Member

zsxwing commented Jan 12, 2016

👍

akarnokd added a commit that referenced this pull request Jan 12, 2016
1.x: fix Completable.using not disposing the resource if the factory crashes during the subscription phase.
@akarnokd akarnokd merged commit ef1c509 into ReactiveX:1.x Jan 12, 2016
@akarnokd akarnokd deleted the UsingDisposeFix branch January 12, 2016 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants