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

Removal of automatic exception catching. #252

Closed
nlutsenko opened this issue May 20, 2016 · 0 comments
Closed

Removal of automatic exception catching. #252

nlutsenko opened this issue May 20, 2016 · 0 comments
Assignees
Milestone

Comments

@nlutsenko
Copy link
Member

nlutsenko commented May 20, 2016

This is an issue to track removal of automatic exception catching.
Currently BFTask continue* methods automatically catch exceptions, unless you disable them via BFTaskSetCatchesExceptions().

This functionality leads to inconsistent behavior and big memory leaks, because ARC by default is not going to cleanup the memory that was not released at the time the exception was thrown.
As an improvement to the API and consistency with Bolts-Swift - we are removing automatic exception catching from Bolts-ObjC.

Currently planned version that this will be removed in is 1.9.0.

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

No branches or pull requests

1 participant