2
0

Infinite loop on unavailable chapters

This commit is contained in:
glax 2023-06-28 23:00:24 +02:00
parent 6d5618a1f7
commit 00599cd24e

View File

@ -186,7 +186,7 @@ public class TaskManager
case TrangaTask.Task.DownloadChapter: case TrangaTask.Task.DownloadChapter:
DownloadChapterTask dct = (DownloadChapterTask)mTask; DownloadChapterTask dct = (DownloadChapterTask)mTask;
return GetTasksMatching(TrangaTask.Task.DownloadChapter, connectorName: dct.connectorName, return GetTasksMatching(TrangaTask.Task.DownloadChapter, connectorName: dct.connectorName,
internalId: dct.publication.internalId); internalId: dct.publication.internalId, chapterNumber: dct.chapter.chapterNumber);
case TrangaTask.Task.MonitorPublication: case TrangaTask.Task.MonitorPublication:
MonitorPublicationTask mpt = (MonitorPublicationTask)mTask; MonitorPublicationTask mpt = (MonitorPublicationTask)mTask;
return GetTasksMatching(TrangaTask.Task.MonitorPublication, connectorName: mpt.connectorName, return GetTasksMatching(TrangaTask.Task.MonitorPublication, connectorName: mpt.connectorName,