Skip to content

fix(forEach): ensure that teardown logic is called when nextHandler t…#1434

Merged
benlesh merged 1 commit intoReactiveX:masterfrom
benlesh:fix-forEach-callback-throw
Mar 8, 2016
Merged

fix(forEach): ensure that teardown logic is called when nextHandler t…#1434
benlesh merged 1 commit intoReactiveX:masterfrom
benlesh:fix-forEach-callback-throw

Conversation

@benlesh
Copy link
Member

@benlesh benlesh commented Mar 8, 2016

…hrows

Also removes use of tryCatch util, since it's unlikely to add any optimization in this case.

fixes #1411

@benlesh
Copy link
Member Author

benlesh commented Mar 8, 2016

attn @zenparsing.

@kwonoj
Copy link
Member

kwonoj commented Mar 8, 2016

Change looks good to me.

@zenparsing
Copy link

I like this approach. Looks good.

@benlesh benlesh merged commit c50f528 into ReactiveX:master Mar 8, 2016
@benlesh
Copy link
Member Author

benlesh commented Mar 8, 2016

Thanks for the review @zenparsing and @kwonoj. Merged.

@benlesh benlesh deleted the fix-forEach-callback-throw branch April 27, 2016 17:15
@lock
Copy link

lock bot commented Jun 7, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

forEach should unsubscribe if callback function throws

3 participants