File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ public partial class App : IAsyncDisposable, ISingleInstanceApp
30
30
#region Public Properties
31
31
32
32
public static IPublicAPI API { get ; private set ; }
33
- public static CancellationTokenSource NativeThreadCTS { get ; private set ; }
34
33
35
34
#endregion
36
35
@@ -121,8 +120,6 @@ static void ShowErrorMsgBoxAndFailFast(string message, Exception e)
121
120
[ STAThread ]
122
121
public static void Main ( )
123
122
{
124
- NativeThreadCTS = new CancellationTokenSource ( ) ;
125
-
126
123
if ( SingleInstance < App > . InitializeAsFirstInstance ( ) )
127
124
{
128
125
var application = new App ( ) ;
@@ -251,7 +248,6 @@ private void RegisterExitEvents()
251
248
252
249
Current . Exit += async ( s , e ) =>
253
250
{
254
- NativeThreadCTS . Cancel ( ) ;
255
251
Log . Info ( "|App.RegisterExitEvents|Application Exit" ) ;
256
252
await DisposeAsync ( ) ;
257
253
} ;
You can’t perform that action at this time.
0 commit comments