Make Release build compile succesfully

This commit is contained in:
sschlesier 2011-05-26 23:01:07 -07:00
parent 474f17c5e6
commit 97c6d60e12
3 changed files with 6 additions and 6 deletions

View file

@ -31,12 +31,9 @@ namespace NzbDrone
IISController.StopServer();
IISController.StartServer();
#if DEBUG
Attach();
#endif
try
{
Logger.Info("Starting default browser. {0}",IISController.AppUrl);
@ -60,6 +57,7 @@ namespace NzbDrone
Console.ReadLine();
}
#if DEBUG
private static void Attach()
{
if (Debugger.IsAttached)
@ -91,7 +89,7 @@ namespace NzbDrone
}
}
}
#endif
private static void AppDomainException(object excepion)
{