mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-29 18:09:21 +01:00
Fixed crash in download service
This commit is contained in:
parent
66c91f9962
commit
4bda044472
@ -217,7 +217,9 @@ public class DownloadService extends Service {
|
||||
syncExecutor.shutdown();
|
||||
schedExecutor.shutdown();
|
||||
cancelNotificationUpdater();
|
||||
downloadPostFuture.cancel(true);
|
||||
if (downloadPostFuture != null) {
|
||||
downloadPostFuture.cancel(true);
|
||||
}
|
||||
unregisterReceiver(cancelDownloadReceiver);
|
||||
|
||||
// if this was the initial gpodder sync, i.e. we just synced the feeds successfully,
|
||||
|
Loading…
x
Reference in New Issue
Block a user