Fixed a rare startup error

This commit is contained in:
Kenneth Skovhede
2025-02-19 15:46:22 +01:00
parent 36ba547a92
commit bf80845292
+1 -1
View File
@@ -152,7 +152,7 @@ namespace Duplicati.Server
/// </summary>
public List<Runner.IRunnerData> WorkerQueue
{
get { return (from t in m_worker?.CurrentTasks where t != null select t)?.ToList() ?? []; }
get { return m_worker?.CurrentTasks?.Where(t => t != null)?.ToList() ?? []; }
}
/// <summary>