diff options
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index 473815dc..8c6016ba 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -1941,6 +1941,10 @@ public class DownloadService extends Service { postPlayCleanup(currentPlaying); } public void postPlayCleanup(DownloadFile downloadFile) { + if(downloadFile == null) { + return; + } + // Finished loading, delete when list is cleared if (downloadFile.getSong() instanceof PodcastEpisode) { toDelete.add(downloadFile); |