Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-05-28 16:20:52 +0000
committerslewis2009-05-28 16:20:52 +0000
commit14062398741e4e4cc6bc4e3bed58595678362617 (patch)
tree7318cbfdc0a4f7a0b4d8ba36454d43aeadb0a4cd
parentd1743001590e3bed8c06b8f1b15125cbdedb1260 (diff)
downloadorg.eclipse.ecf-14062398741e4e4cc6bc4e3bed58595678362617.tar.gz
org.eclipse.ecf-14062398741e4e4cc6bc4e3bed58595678362617.tar.xz
org.eclipse.ecf-14062398741e4e4cc6bc4e3bed58595678362617.zip
Added cleanup code
-rw-r--r--examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.consumer/src/org/eclipse/ecf/internal/examples/remoteservices/hello/consumer/Activator.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.consumer/src/org/eclipse/ecf/internal/examples/remoteservices/hello/consumer/Activator.java b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.consumer/src/org/eclipse/ecf/internal/examples/remoteservices/hello/consumer/Activator.java
index 12195975c..a4e492c87 100644
--- a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.consumer/src/org/eclipse/ecf/internal/examples/remoteservices/hello/consumer/Activator.java
+++ b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.consumer/src/org/eclipse/ecf/internal/examples/remoteservices/hello/consumer/Activator.java
@@ -48,6 +48,10 @@ public class Activator implements BundleActivator, IDistributionConstants, Servi
public void stop(BundleContext context) throws Exception {
helloServiceTracker.close();
helloServiceTracker = null;
+ if (containerManagerServiceTracker != null) {
+ containerManagerServiceTracker.close();
+ containerManagerServiceTracker = null;
+ }
this.context = null;
}

Back to the top