Horis před 2 roky
rodič
revize
cb19cb5c14

+ 3 - 0
app/src/main/java/io/legado/app/service/ExportBookService.kt

@@ -132,6 +132,9 @@ class ExportBookService : BaseService() {
         super.onDestroy()
         exportProgress.clear()
         exportMsg.clear()
+        waitExportBooks.keys.forEach {
+            postEvent(EventBus.EXPORT_BOOK, it)
+        }
     }
 
     @SuppressLint("MissingPermission")