mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 06:01:49 +01:00
Tip: don't copy paste without reading it again
This commit is contained in:
parent
ceb56e2c8a
commit
f2b05e8519
@ -119,7 +119,7 @@ public class DownloadQueuePresenter extends BasePresenter<DownloadQueueFragment>
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Avoid leaking subscriptions
|
// Avoid leaking subscriptions
|
||||||
Subscription oldSubscription = progressSubscriptions.remove(download);
|
Subscription oldSubscription = pageStatusSubscriptions.remove(download);
|
||||||
if (oldSubscription != null) oldSubscription.unsubscribe();
|
if (oldSubscription != null) oldSubscription.unsubscribe();
|
||||||
|
|
||||||
pageStatusSubscriptions.put(download, subscription);
|
pageStatusSubscriptions.put(download, subscription);
|
||||||
|
Loading…
Reference in New Issue
Block a user