This commit is contained in:
Trustin Lee 2009-01-08 11:23:58 +00:00
parent 18fec46a40
commit 7de8dce654

View File

@ -70,6 +70,7 @@ public class NettyBundleActivator implements BundleActivator {
public void stop(BundleContext ctx) throws Exception { public void stop(BundleContext ctx) throws Exception {
unregisterAll(); unregisterAll();
ExecutorShutdownUtil.shutdown(executor); ExecutorShutdownUtil.shutdown(executor);
executor = null;
} }
private void register(BundleContext ctx, ChannelFactory factory, Class<?>... factoryTypes) { private void register(BundleContext ctx, ChannelFactory factory, Class<?>... factoryTypes) {