From da009c005ba254730c9b080352816cd448267844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Mon, 1 Nov 2021 17:39:13 +0800 Subject: [PATCH] fix bug --- FastGithub.UI/App.xaml.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/FastGithub.UI/App.xaml.cs b/FastGithub.UI/App.xaml.cs index 1331e33..8347a18 100644 --- a/FastGithub.UI/App.xaml.cs +++ b/FastGithub.UI/App.xaml.cs @@ -30,7 +30,7 @@ namespace FastGithub.UI { AppDomain.CurrentDomain.AssemblyResolve += OnAssemblyResolve; SetWebBrowserVersion(9000); - this.fastGithub = StartFastGithub(); + StartFastGithub(); } base.OnStartup(e); @@ -101,10 +101,6 @@ namespace FastGithub.UI protected override void OnExit(ExitEventArgs e) { this.globalMutex.Dispose(); - if (this.fastGithub != null && this.fastGithub.HasExited == false) - { - this.fastGithub.Kill(); - } base.OnExit(e); } }