1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 17:27:59 +00:00

CPU usage fail

Fixed: Running NzbDrone without a console should no longer cause
excessive CPU usage
This commit is contained in:
Mark McDowall 2013-01-28 19:42:08 -08:00
parent ffc0ff8ebf
commit 506899730a

View file

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