Skip to content

Usenet streaming with a WebDAV server and a SABnzbd-compatible API

C#

fix: typo when disposing queue nzb stream.

nzbdav-dev3e44aaebd635
diff --git a/backend/Queue/QueueManager.cs b/backend/Queue/QueueManager.cs
index cf8b706c..9ebc02e2 100644
--- a/backend/Queue/QueueManager.cs
+++ b/backend/Queue/QueueManager.cs
@@ -126,7 +126,7 @@ public class QueueManager : IDisposable
}
finally
{
- if (topItem.queueItem is not null)
+ if (topItem.queueNzbStream is not null)
await topItem.queueNzbStream!.DisposeAsync();
}
}