From 905f5e5f9a97fa31587f3bff14d645fee4b888b5 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Tue, 22 Mar 2022 20:41:07 +0100 Subject: [PATCH] Do not shut down the executor before the service is destroyed --- .../danoeh/antennapod/core/service/download/DownloadService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java index 917c45c14..4591c953e 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java @@ -656,7 +656,6 @@ public class DownloadService extends Service { if (notificationUpdater != null) { notificationUpdater.run(); } - downloadEnqueueExecutor.shutdown(); // Do not accept new downloads cancelNotificationUpdater(); ServiceCompat.stopForeground(this, ServiceCompat.STOP_FOREGROUND_REMOVE); stopSelf();