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

Possible memory deadlock at async calls in a server environment #4

tusmester opened this issue Apr 27, 2017 · 0 comments


Copy link

@tusmester tusmester commented Apr 27, 2017

If you use a library (like this sn client) that has an async api in a web server environment, async calls can lead to memory deadlock, if the library does not take care of handling the thread/task context correctly.

Solution: inside the library it is advisable to use the ConfigureAwatit(false) call at the end of every async call. For example:

var customer = await GetCustomerAsync(id).ConfigureAwait(false);


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.