From a382149bba690626e8f64c67d87f4f293525b8bc Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 24 Nov 2011 11:32:05 +0100 Subject: [PATCH] Catch InterruptedException and interrupt the current Thread so we at least give someone the chance todo something about it. --- .../netty/handler/execution/MemoryAwareThreadPoolExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jboss/netty/handler/execution/MemoryAwareThreadPoolExecutor.java b/src/main/java/org/jboss/netty/handler/execution/MemoryAwareThreadPoolExecutor.java index ca849d532a..ad63becd3f 100644 --- a/src/main/java/org/jboss/netty/handler/execution/MemoryAwareThreadPoolExecutor.java +++ b/src/main/java/org/jboss/netty/handler/execution/MemoryAwareThreadPoolExecutor.java @@ -545,7 +545,7 @@ public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor { try { wait(); } catch (InterruptedException e) { - // Ignore + Thread.currentThread().interrupt(); } finally { waiters --; }