This repository was archived by the owner on Apr 21, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public static void Start()
5757
5858 appQueue = new AsyncCollection < object > ( ) ;
5959
60- SharedMessagePump . Initialize ( ) ;
60+
6161 Task . Factory . StartNew ( ( ) => { } ) . ContinueWith ( x =>
6262 {
6363 WindowHook . WindowCreated += new GeneralShellHookEventHandler ( WindowCreated ) ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public static void Start()
4646 {
4747 _clipQueue = new AsyncCollection < object > ( ) ;
4848
49- SharedMessagePump . Initialize ( ) ;
49+
5050 Task . Factory . StartNew ( ( ) => { } ) . ContinueWith ( x =>
5151 {
5252 _clip = new ClipBoardHook ( ) ;
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ static SharedMessagePump()
7474 } ) ;
7575 }
7676
77- internal static void Initialize ( )
77+ private static void Initialize ( )
7878 {
7979 GetTaskScheduler ( ) ;
8080 GetHandle ( ) ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public static void Start()
4949 _kh . KeyDown += new RawKeyEventHandler ( KListener ) ;
5050 _kh . KeyUp += new RawKeyEventHandler ( KListener ) ;
5151
52- SharedMessagePump . Initialize ( ) ;
52+
5353 Task . Factory . StartNew ( ( ) => { } ) . ContinueWith ( x =>
5454 {
5555 _kh . Start ( ) ;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public static void Start()
3636 _mh = new MouseHook ( ) ;
3737 _mh . MouseAction += MListener ;
3838
39- SharedMessagePump . Initialize ( ) ;
39+
4040 Task . Factory . StartNew ( ( ) => { } ) . ContinueWith ( x =>
4141 {
4242 _mh . Start ( ) ;
You can’t perform that action at this time.
0 commit comments