mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed: Error in epic fail handler if console input redirected
Fixes Sentry LIDARR-1YS
This commit is contained in:
parent
0bde5fd9e5
commit
ef30db58ee
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ namespace NzbDrone.Console
|
||||||
{
|
{
|
||||||
System.Threading.Thread.Sleep(1000);
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
|
||||||
if (System.Console.KeyAvailable) break;
|
if (!System.Console.IsInputRedirected && System.Console.KeyAvailable) break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue