VirtualDesktop
VirtualDesktop copied to clipboard
fix: exception in VirtualDesktopProvider.Initialize
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.