mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 16:52:04 +02:00
Fixed: Error in epic fail handler if console input redirected
Fixes Sentry Radarr-3AK
This commit is contained in:
@@ -87,7 +87,7 @@ namespace NzbDrone.Console
|
||||
for (int i = 0; i < 3600; i++)
|
||||
{
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
if (System.Console.KeyAvailable) break;
|
||||
if (!System.Console.IsInputRedirected && System.Console.KeyAvailable) break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user