mirror of
https://github.com/Radarr/Radarr
synced 2024-12-21 23:42:23 +00:00
Fixed: Error getting processes in some cases
(cherry picked from commit b552d4e9f7ca7388404aa0d52566010a54cb0244)
This commit is contained in:
parent
e016410c10
commit
64fd8552f8
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ private ProcessInfo ConvertToProcessInfo(Process process)
|
|||
processInfo = new ProcessInfo();
|
||||
processInfo.Id = process.Id;
|
||||
processInfo.Name = process.ProcessName;
|
||||
processInfo.StartPath = process.MainModule.FileName;
|
||||
processInfo.StartPath = process.MainModule?.FileName;
|
||||
|
||||
if (process.Id != GetCurrentProcessId() && process.HasExited)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue