Catch InterruptedException and interrupt the current Thread so we

at least give someone the chance todo something about it.
This commit is contained in:
norman 2011-11-25 14:03:17 +01:00
parent e68aa06dfa
commit 1bb3322268

View File

@ -545,7 +545,7 @@ public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor {
try {
wait();
} catch (InterruptedException e) {
// Ignore
Thread.currentThread().interrupt();
} finally {
waiters --;
}