This commit is contained in:
陈国伟 2021-11-01 17:39:13 +08:00
parent 4433754662
commit da009c005b

View File

@ -30,7 +30,7 @@ namespace FastGithub.UI
{ {
AppDomain.CurrentDomain.AssemblyResolve += OnAssemblyResolve; AppDomain.CurrentDomain.AssemblyResolve += OnAssemblyResolve;
SetWebBrowserVersion(9000); SetWebBrowserVersion(9000);
this.fastGithub = StartFastGithub(); StartFastGithub();
} }
base.OnStartup(e); base.OnStartup(e);
@ -101,10 +101,6 @@ namespace FastGithub.UI
protected override void OnExit(ExitEventArgs e) protected override void OnExit(ExitEventArgs e)
{ {
this.globalMutex.Dispose(); this.globalMutex.Dispose();
if (this.fastGithub != null && this.fastGithub.HasExited == false)
{
this.fastGithub.Kill();
}
base.OnExit(e); base.OnExit(e);
} }
} }