From f2b05e85193ae4d3f33c44966595068f60159936 Mon Sep 17 00:00:00 2001 From: inorichi Date: Mon, 9 Nov 2015 03:47:39 +0100 Subject: [PATCH] Tip: don't copy paste without reading it again --- .../eu/kanade/mangafeed/presenter/DownloadQueuePresenter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/mangafeed/presenter/DownloadQueuePresenter.java b/app/src/main/java/eu/kanade/mangafeed/presenter/DownloadQueuePresenter.java index dd931bf4f6..cd893b9d72 100644 --- a/app/src/main/java/eu/kanade/mangafeed/presenter/DownloadQueuePresenter.java +++ b/app/src/main/java/eu/kanade/mangafeed/presenter/DownloadQueuePresenter.java @@ -119,7 +119,7 @@ public class DownloadQueuePresenter extends BasePresenter }); // Avoid leaking subscriptions - Subscription oldSubscription = progressSubscriptions.remove(download); + Subscription oldSubscription = pageStatusSubscriptions.remove(download); if (oldSubscription != null) oldSubscription.unsubscribe(); pageStatusSubscriptions.put(download, subscription);