mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-01 19:26:46 +01:00
Do not shut down the executor before the service is destroyed
This commit is contained in:
parent
3d54aa7064
commit
905f5e5f9a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user