CPU usage fail

Fixed: Running NzbDrone without a console should no longer cause
excessive CPU usage
pull/2/head
Mark McDowall 12 years ago
parent ffc0ff8ebf
commit 506899730a

@ -1,5 +1,6 @@
using System;
using System.Diagnostics;
using System.Threading;
namespace NzbDrone.Common
{
@ -10,6 +11,7 @@ namespace NzbDrone.Common
while (true)
{
Console.ReadLine();
Thread.Sleep(250);
}
}

Loading…
Cancel
Save