mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Ignore exception when attempting to kill ffmpeg that has exited
A race condition where this code attempts to kill an already exited ffmpeg process is possible. This results in unnecessary error logging. This change replaces the generic exception handling with the above mentioned exception. No log output is produced.
This commit is contained in:
parent
749023bf02
commit
fd1bdad0e2
@ -610,9 +610,8 @@ namespace MediaBrowser.Api
|
|||||||
process.Kill();
|
process.Kill();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (InvalidOperationException)
|
||||||
{
|
{
|
||||||
Logger.LogError(ex, "Error killing transcoding job for {Path}", job.Path);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user