Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2007-02-06 11:52:52 +0000
committerMikhail Khodjaiants2007-02-06 11:52:52 +0000
commit7cf4d737966163462dc9dac56581e1596e53f25f (patch)
tree8a6272ae4d5c61c31ba421b4c45043061e16924e /launch/org.eclipse.cdt.launch
parent8206c9442388a693ed14cbd9984171fe4568fc65 (diff)
downloadorg.eclipse.cdt-7cf4d737966163462dc9dac56581e1596e53f25f.tar.gz
org.eclipse.cdt-7cf4d737966163462dc9dac56581e1596e53f25f.tar.xz
org.eclipse.cdt-7cf4d737966163462dc9dac56581e1596e53f25f.zip
Bug 163343: Dynamic tab content is not disposed.
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
index e9a1b02c652..d008480c25e 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
@@ -19,6 +19,7 @@ import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+
import org.eclipse.cdt.core.CCorePlugin;
import org.eclipse.cdt.core.IBinaryParser;
import org.eclipse.cdt.core.ICExtensionReference;
@@ -27,6 +28,7 @@ import org.eclipse.cdt.debug.core.CDebugCorePlugin;
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
import org.eclipse.cdt.debug.core.ICDebugConstants;
+import org.eclipse.cdt.debug.ui.ICDebuggerPage;
import org.eclipse.cdt.launch.internal.ui.AbstractCDebuggerTab;
import org.eclipse.cdt.launch.internal.ui.LaunchMessages;
import org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin;
@@ -449,6 +451,9 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
*/
public void dispose() {
getAdvancedAttributes().clear();
+ ICDebuggerPage debuggerPage = getDynamicTab();
+ if ( debuggerPage != null )
+ debuggerPage.dispose();
super.dispose();
}

Back to the top