Tip: don't copy paste without reading it again

This commit is contained in:
inorichi 2015-11-09 03:47:39 +01:00
parent ceb56e2c8a
commit f2b05e8519

View file

@ -119,7 +119,7 @@ public class DownloadQueuePresenter extends BasePresenter<DownloadQueueFragment>
});
// Avoid leaking subscriptions
Subscription oldSubscription = progressSubscriptions.remove(download);
Subscription oldSubscription = pageStatusSubscriptions.remove(download);
if (oldSubscription != null) oldSubscription.unsubscribe();
pageStatusSubscriptions.put(download, subscription);