stop all download on getting 509

This commit is contained in:
Epix authored and NekoInverter committed 2020-03-27 09:44:58 +08:00
1 parent b85bb1fa8e
commit f050f267b2
1 file changed
+1
@@ -855,6 +855,7 @@ public class DownloadManager implements SpiderQueen.OnSpiderListener {
@Override
public void onGet509(int index) {
stopAllDownload();
NotifyTask task = mNotifyTaskPool.pop();
if (task == null) {
task = new NotifyTask();