mirror of
https://github.com/mirror/jdownloader.git
synced 2025-03-04 18:38:24 +00:00
FileFactory hat interrupted abgefangen, endlosschleife
git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@5953 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
parent
b29c39d244
commit
4ec129aefa
@ -160,6 +160,10 @@ public class DownloadWatchDog implements ControlListener, DownloadControllerList
|
||||
Thread.sleep(100);
|
||||
} catch (InterruptedException e) {
|
||||
}
|
||||
cons = new ArrayList<SingleDownloadController>(DownloadControllers.values());
|
||||
for (SingleDownloadController singleDownloadController : cons) {
|
||||
al.add(singleDownloadController.abortDownload().getDownloadLink());
|
||||
}
|
||||
}
|
||||
DownloadController.getInstance().fireDownloadLinkUpdate(al);
|
||||
progress.finalize();
|
||||
|
@ -72,6 +72,8 @@ public class FileFactory extends PluginForHost {
|
||||
public void handleFree(DownloadLink parameter) throws Exception {
|
||||
try {
|
||||
handleFree0(parameter);
|
||||
} catch (InterruptedException e2) {
|
||||
return;
|
||||
} catch (IOException e) {
|
||||
logger.log(java.util.logging.Level.SEVERE, "Exception occured", e);
|
||||
if (e.getMessage() != null && e.getMessage().contains("502")) {
|
||||
@ -125,7 +127,7 @@ public class FileFactory extends PluginForHost {
|
||||
parameter.requestGuiUpdate();
|
||||
captchaCode = getCaptchaCode(captchaFile, parameter);
|
||||
} catch (Exception e) {
|
||||
continue;
|
||||
return;
|
||||
}
|
||||
captchaCode = captchaCode.replaceAll("\\-", "");
|
||||
if (captchaCode.length() < 4) continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user