ESBCOMP-99 Shutdown threadpools when the lifecycle of HTTPBC is stopped

master
David BRASSELY 2014-03-28 13:18:32 +01:00
parent d9ef2a2ce1
commit 4774546cfa
1 changed files with 3 additions and 0 deletions

View File

@ -234,6 +234,9 @@ public class OutboundReceiver implements Runnable {
if (mLog.isLoggable(Level.FINE)) {
mLog.log(Level.FINE, "Stopping the receiver thread");
}
inboundReplyPooledExecutor.shutdown();
mOutboundPooledExecutor.shutdown();
mMonitor = null;
}