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

Fix possible deadlock in durable mode on CloseAndFlush() #45

Merged
merged 1 commit into from
Nov 4, 2016

Conversation

skomis-mm
Copy link

A bit of regression was introduced in the last rapid release: calling Dispose()/CloseAndFlush() from UI context while there is an outstanding work will result in deadlock. Correct fix is to use ConfigureAwait(false) everywhere inside tick handler or setting SynchronizatonContext to null before calling it.

@nblumhardt
Copy link
Member

Ah, thanks. Will push this one through.

@nblumhardt nblumhardt merged commit a7c3d6e into datalust:dev Nov 4, 2016
@nblumhardt nblumhardt mentioned this pull request Nov 4, 2016
@skomis-mm skomis-mm deleted the deadlock branch November 14, 2016 05:43
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.

2 participants