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

@@ -35,7 +35,7 @@ public class RetryTask {
this.handler = handler;
}
public void run() throws IOException {
public void run() throws IOException, InterruptedException {
boolean retry;
do {
retry = false;