Clean-up
This commit is contained in:
parent
18fec46a40
commit
7de8dce654
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user