Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2009-11-02 15:08:42 +0000
committerDarin Wright2009-11-02 15:08:42 +0000
commitb1bd18cfc0d04fc981278bbf85089f1b3b504539 (patch)
treeba060aebd8e9f67873da93c317695281465698d4
parent5fb5dca2b80c6ca53bb573b20154ba4102449d93 (diff)
downloadeclipse.platform.debug-b1bd18cfc0d04fc981278bbf85089f1b3b504539.tar.gz
eclipse.platform.debug-b1bd18cfc0d04fc981278bbf85089f1b3b504539.tar.xz
eclipse.platform.debug-b1bd18cfc0d04fc981278bbf85089f1b3b504539.zip
Bug 291588 - Widget disposed exception when double-clicking another launch configuration
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java
index e02e9b2c5..051ebd3ad 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java
@@ -419,7 +419,9 @@ public abstract class AbstractLaunchConfigurationTab implements ILaunchConfigura
protected Job createUpdateJob() {
return new WorkbenchJob(getControl().getDisplay(), "Update LCD") { //$NON-NLS-1$
public IStatus runInUIThread(IProgressMonitor monitor) {
- updateLaunchConfigurationDialog();
+ if (!getControl().isDisposed()) {
+ updateLaunchConfigurationDialog();
+ }
return Status.OK_STATUS;
}
public boolean shouldRun() {

Back to the top