aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-03-09 05:57:38 +0100
committerBond_009 <bond.009@outlook.com>2021-03-13 22:33:28 +0100
commita8ed753f6c890f74d3a70c2653ac5548d2399737 (patch)
treef3ce12a6cdd920630930699eb112656f0227b7f6 /Jellyfin.Server/Program.cs
parent260b48ef9d5547581f0499152b52317babc5f86f (diff)
FxCop -> Net Analyzers (part 2)
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 6ae0542c0..4f203b7a9 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -222,7 +222,7 @@ namespace Jellyfin.Server
}
finally
{
- appHost?.Dispose();
+ appHost.Dispose();
}
if (_restartOnShutdown)
@@ -623,7 +623,7 @@ namespace Jellyfin.Server
string commandLineArgsString;
if (options.RestartArgs != null)
{
- commandLineArgsString = options.RestartArgs ?? string.Empty;
+ commandLineArgsString = options.RestartArgs;
}
else
{