Set ExecutionState to waiting after finished
This commit is contained in:
parent
fbba7c45b9
commit
e4f33bcca9
@ -24,6 +24,8 @@ public class DownloadNewChaptersTask : TrangaTask
|
||||
|
||||
foreach(Chapter newChapter in newChapters)
|
||||
connector.DownloadChapter(pub, newChapter);
|
||||
|
||||
this.state = ExecutionState.Waiting;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user