Skip to content

Remove async and add .wait() in Open() so exceptions can be caught #22

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
Jul 2, 2016

Conversation

SapientGuardian
Copy link
Owner

The async void signature of the Open method made it impossible for callers to catch exceptions in the correct context. This PR removes async and adds .wait() in Open() so exceptions can be caught. It also simplifies our ifdefs.

@SapientGuardian SapientGuardian merged commit b9ab494 into 6.9_netstandard Jul 2, 2016
@SapientGuardian SapientGuardian deleted the remove_async_open branch July 2, 2016 15:50
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