mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 08:16:36 +03:00
Tip: don't copy paste without reading it again
This commit is contained in:
parent
ceb56e2c8a
commit
f2b05e8519
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue