fix single thread download fail

pull/975/head
dingjinfeng 1 year ago
parent aa292e4389
commit 915df3023c
  1. 2
      PublicComponent/src/main/java/com/arialyy/aria/core/loader/NormalThreadStateManager.java

@ -105,7 +105,7 @@ public class NormalThreadStateManager implements IThreadStateManager {
// mergerSFtp(); // mergerSFtp();
// mListener.onComplete(); // mListener.onComplete();
//} else //} else
if (mTaskRecord.isBlock || mTaskRecord.threadNum == 1) { if (mTaskRecord.isBlock) {
if (mergeFile()) { if (mergeFile()) {
mListener.onComplete(); mListener.onComplete();
} else { } else {

Loading…
Cancel
Save