mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
Fixed: Exiting from tray icon
This commit is contained in:
parent
de3ba041f2
commit
6d18b37a94
@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using NLog;
|
||||||
using NzbDrone.Common.EnvironmentInfo;
|
using NzbDrone.Common.EnvironmentInfo;
|
||||||
using NzbDrone.Common.Processes;
|
using NzbDrone.Common.Processes;
|
||||||
using NzbDrone.Host;
|
using NzbDrone.Host;
|
||||||
@ -86,7 +87,8 @@ protected override void Dispose(bool isDisposing)
|
|||||||
|
|
||||||
private void OnExit(object sender, EventArgs e)
|
private void OnExit(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Application.Exit();
|
LogManager.Configuration = null;
|
||||||
|
Environment.Exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void LaunchBrowser(object sender, EventArgs e)
|
private void LaunchBrowser(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user