Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2010-02-11 00:02:28 +0000
committerslewis2010-02-11 00:02:28 +0000
commit568fc8921421d613bf281c17f2446c80bb3cfa44 (patch)
tree4b94b3e2e15690c0459a88a007a4b9a92e021d5d /examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host
parenteca72bdf8dbec572a7878cb1daf07d673ada2d66 (diff)
downloadorg.eclipse.ecf-568fc8921421d613bf281c17f2446c80bb3cfa44.tar.gz
org.eclipse.ecf-568fc8921421d613bf281c17f2446c80bb3cfa44.tar.xz
org.eclipse.ecf-568fc8921421d613bf281c17f2446c80bb3cfa44.zip
Added code in stop to allow for application exit
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host')
-rw-r--r--examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java
index 456276a6b..1add7d4a4 100644
--- a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java
+++ b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java
@@ -67,6 +67,10 @@ public class HelloHostApplication implements IApplication,
helloRegistration = null;
}
bundleContext = null;
+ synchronized (appLock) {
+ done = true;
+ notifyAll();
+ }
}
private void processArgs(IApplicationContext appContext) {

Back to the top