Set ExecutionState to waiting after finished

This commit is contained in:
glax 2023-05-31 21:52:50 +02:00
parent fbba7c45b9
commit e4f33bcca9
2 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,8 @@ public class DownloadNewChaptersTask : TrangaTask
foreach(Chapter newChapter in newChapters)
connector.DownloadChapter(pub, newChapter);
this.state = ExecutionState.Waiting;
}
/// <summary>

View File

@ -16,5 +16,6 @@ public class UpdateKomgaLibraryTask : TrangaTask
Komga.KomgaLibrary[] allLibraries = komga.GetLibraries();
foreach (Komga.KomgaLibrary lib in allLibraries)
komga.UpdateLibrary(lib.id);
this.state = ExecutionState.Waiting;
}
}