From 7de8dce654554101c10c7172babb82e461e194d6 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Thu, 8 Jan 2009 11:23:58 +0000 Subject: [PATCH] Clean-up --- .../org/jboss/netty/container/osgi/NettyBundleActivator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/jboss/netty/container/osgi/NettyBundleActivator.java b/src/main/java/org/jboss/netty/container/osgi/NettyBundleActivator.java index a209539f60..d88b74ff9c 100644 --- a/src/main/java/org/jboss/netty/container/osgi/NettyBundleActivator.java +++ b/src/main/java/org/jboss/netty/container/osgi/NettyBundleActivator.java @@ -70,6 +70,7 @@ public class NettyBundleActivator implements BundleActivator { public void stop(BundleContext ctx) throws Exception { unregisterAll(); ExecutorShutdownUtil.shutdown(executor); + executor = null; } private void register(BundleContext ctx, ChannelFactory factory, Class... factoryTypes) {