catch OOM errors during scanning

pull/1/head
Michael Peter Christen 13 years ago
parent 8bfc987374
commit 665626a51b

@ -281,6 +281,7 @@ public class Scanner extends Thread {
if (access != Access.unknown) Scanner.this.services.put(this.service, access);
}
} catch (final ExecutionException e) {
} catch (final OutOfMemoryError e) {
}
final Object r = Scanner.this.runner.remove(this);
assert r != null;

Loading…
Cancel
Save