Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2014-08-05 12:19:54 -0400
committerMike Rennie2014-08-05 12:19:54 -0400
commit4f500655f939aceeb1b96a11aec968af7bce1501 (patch)
tree3e1760d61ff0720281c7c974b639feed32534c82 /org.eclipse.debug.core
parentda83b9c7b0113917c21b3eb5abb4bec8ec30a3d9 (diff)
downloadeclipse.platform.debug-4f500655f939aceeb1b96a11aec968af7bce1501.tar.gz
eclipse.platform.debug-4f500655f939aceeb1b96a11aec968af7bce1501.tar.xz
eclipse.platform.debug-4f500655f939aceeb1b96a11aec968af7bce1501.zip
Bug 437122 - Stale launches in Debug view after canceling "Save and
Launch" dialog Change-Id: I9de5b34985ba6d3f0dda907a22584c5717c715bd Signed-off-by: Sarika Sinha <sarika.sinha@in.ibm.com>
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfiguration.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfiguration.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfiguration.java
index 57f2dd538..e6a15dfc7 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfiguration.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LaunchConfiguration.java
@@ -838,6 +838,7 @@ public class LaunchConfiguration extends PlatformObject implements ILaunchConfig
if (delegate2 != null) {
if (!(delegate2.preLaunchCheck(this, mode, new SubProgressMonitor(lmonitor, 1)))) {
+ getLaunchManager().removeLaunch(launch);
return launch;
}
}
@@ -865,6 +866,7 @@ public class LaunchConfiguration extends PlatformObject implements ILaunchConfig
lmonitor.subTask(DebugCoreMessages.LaunchConfiguration_4);
if (delegate2 != null) {
if (!(delegate2.finalLaunchCheck(this, mode, new SubProgressMonitor(lmonitor, 1)))) {
+ getLaunchManager().removeLaunch(launch);
return launch;
}
}

Back to the top