do not run through connection loop after thread was interrupted and resolver returned 0 results

This commit is contained in:
Daniel Gultsch 2018-09-26 14:39:04 +02:00
parent 6121217df5
commit 681ce91ab8
2 changed files with 1783 additions and 1783 deletions

View file

@ -123,9 +123,7 @@ public class Resolver {
for(Thread thread : threads) {
thread.interrupt();
}
synchronized (results) {
return new ArrayList<>(results);
}
return Collections.emptyList();
}
}

File diff suppressed because it is too large Load diff