mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Remove unnecessary null checks in some places
Related to https://github.com/jellyfin/jellyfin/issues/2149
This commit is contained in:
@@ -740,10 +740,7 @@ namespace Jellyfin.Api.Helpers
|
||||
/// <param name="state">The state.</param>
|
||||
private void OnFfMpegProcessExited(Process process, TranscodingJobDto job, StreamState state)
|
||||
{
|
||||
if (job != null)
|
||||
{
|
||||
job.HasExited = true;
|
||||
}
|
||||
job.HasExited = true;
|
||||
|
||||
_logger.LogDebug("Disposing stream resources");
|
||||
state.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user