Skip to content

Conversation

@mpolicki
Copy link
Contributor

@mpolicki mpolicki commented Nov 2, 2019

Fixes #37
TaskScheduler.FromCurrentSynchronizationContext throws an exception when SynchronizationContext.Current == null. Also, I don't see why a TaskScheduler would have to be obtained from a SynchronizationContext, so I simply made it use TaskScheduler.Current instead.

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.

Can't initialize with a null SynchronizationContext.Current

1 participant