Restored the thread's interrupted status.

master
Project Nayuki 1 month ago
parent 2d0d3c9276
commit 993ccbb676

@ -83,6 +83,7 @@ final class Memoizer<T,R> {
try {
this.wait();
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new RuntimeException(e);
}
}

Loading…
Cancel
Save