diff --git a/Duplicati/Server/Program.cs b/Duplicati/Server/Program.cs index 5b98223f1..c69f869cb 100644 --- a/Duplicati/Server/Program.cs +++ b/Duplicati/Server/Program.cs @@ -296,9 +296,8 @@ namespace Duplicati.Server Library.UsageReporter.Reporter.ShutDown(); - if (PingPongThread != null) - try { PingPongThread.Abort(); } - catch { } + try { PingPongThread?.Abort(); } + catch { } LogHandler?.Dispose(); }