mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
CPU usage fail
Fixed: Running NzbDrone without a console should no longer cause excessive CPU usage
This commit is contained in:
parent
ffc0ff8ebf
commit
506899730a
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using System.Threading;
|
||||||
|
|
||||||
namespace NzbDrone.Common
|
namespace NzbDrone.Common
|
||||||
{
|
{
|
||||||
|
@ -10,6 +11,7 @@ public virtual void WaitForClose()
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
Console.ReadLine();
|
Console.ReadLine();
|
||||||
|
Thread.Sleep(250);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue