Infinite loop on unavailable chapters
This commit is contained in:
parent
6d5618a1f7
commit
00599cd24e
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user