8000 Remove ConfigureAwait(false) in WrapAsync to avoid SynchronizationContext switch by vanbukin · Pull Request #332 · allure-framework/allure-csharp · GitHub
[go: up one dir, main page]

Skip to content

Conversation

vanbukin
Copy link
@vanbukin vanbukin commented Feb 18, 2023

Remove ConfigureAwait(false) to avoid switching into default SynchronizationContext.

Context

We have SpecFlow + NUnit + Allure libs in the same project.
SpecFlow uses it's own SynchronizationContext. Async code that executes inside methods that marked as [AllureStep] will always switch into default SynchronizationContext.

Checklist

@CLAassistant
Copy link
CLAassistant commented Feb 18, 2023

CLA assistant check
All committers have signed the CLA.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0