properly interrupt on timeout

This commit is contained in:
honfika@gmail.com
2015-07-06 16:10:12 +02:00
parent 94d3544fde
commit b3c39bbbee
27 changed files with 91 additions and 87 deletions

View File

@@ -455,7 +455,7 @@ public class ProxyFrame extends AppFrame implements CatchedListener, MouseListen
Files.copy(new File(r.targetFile).toPath(), outfile.toPath(), StandardCopyOption.REPLACE_EXISTING);
}
}, handler).run();
} catch (IOException ex) {
} catch (IOException | InterruptedException ex) {
break;
}
}