Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.java')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.java
index fd334e548..ffc771cc1 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.java
@@ -148,6 +148,7 @@ public class EclipseAppLauncher implements ApplicationLauncher {
return null;
}
+ @Override
public void launch(ParameterizedRunnable app, Object applicationContext) {
waitForAppLock.tryAcquire(); // clear out any pending apps notifications
if (!runningLock.tryAcquire()) // check to see if an application is currently running
@@ -158,6 +159,7 @@ public class EclipseAppLauncher implements ApplicationLauncher {
runningLock.release(); // release the running lock
}
+ @Override
public void shutdown() {
// this method will aquire and keep the runningLock to prevent
// all future application launches.

Back to the top