Skip to content
This repository was archived by the owner on Apr 21, 2021. It is now read-only.

Commit dea813f

Browse files
committed
frmt
1 parent 8c1a7ee commit dea813f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

EventHook/Helpers/SyncFactory.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ internal SyncFactory()
4444
Dispatcher.CurrentDispatcher.BeginInvoke(new Action(() =>
4545
{
4646
Volatile.Write(ref current, TaskScheduler.FromCurrentSynchronizationContext());
47-
}
48-
49-
), DispatcherPriority.Normal);
47+
}), DispatcherPriority.Normal);
5048
Dispatcher.Run();
49+
5150
}).Start();
5251

5352
//we called dispatcher begin invoke to get the Message Pump Sync Context

0 commit comments

Comments
 (0)