From 7fbe8ae769277480fb8119a5687434f2b3aec849 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Sat, 21 Aug 2021 08:03:40 -0600 Subject: [PATCH] Fixed PDF download form disposed error --- .../BookLiberation/ProcessorAutomationController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LibationWinForms/BookLiberation/ProcessorAutomationController.cs b/LibationWinForms/BookLiberation/ProcessorAutomationController.cs index f30618ae..4493e59c 100644 --- a/LibationWinForms/BookLiberation/ProcessorAutomationController.cs +++ b/LibationWinForms/BookLiberation/ProcessorAutomationController.cs @@ -98,11 +98,11 @@ namespace LibationWinForms.BookLiberation private static IProcessable CreateBackupBook(EventHandler completedAction, LogMe logMe) { - var downloadPdf = CreateProcessable(logMe); - //Chain pdf download on DownloadDecryptBook.Completed async void onDownloadDecryptBookCompleted(object sender, LibraryBook e) { + var downloadPdf = CreateProcessable(logMe); + await downloadPdf.TryProcessAsync(e); completedAction(sender, e); }