Added single instance policy

This commit is contained in:
kayone
2013-11-25 18:46:12 -08:00
parent 266d1a43d9
commit c219be8c8d
14 changed files with 254 additions and 51 deletions

View File

@@ -32,8 +32,10 @@ namespace NzbDrone.Console
Thread.Sleep(1000);
}
}
catch (TerminateApplicationException)
catch (TerminateApplicationException e)
{
Logger.Info("Application has been terminated. Reason " + e.Reason);
return;
}
catch (Exception e)
{