Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2007-02-06 06:45:26 -0500
committerMikhail Khodjaiants2007-02-06 06:45:26 -0500
commita69ea0774915592d73f413b1f90e9512754188b6 (patch)
tree23dd61795ef50c25f54e8f3279e7ab075fcd106e
parent78ecb0ed5328203e4ef713116599d0768ebddb8c (diff)
downloadorg.eclipse.cdt-a69ea0774915592d73f413b1f90e9512754188b6.tar.gz
org.eclipse.cdt-a69ea0774915592d73f413b1f90e9512754188b6.tar.xz
org.eclipse.cdt-a69ea0774915592d73f413b1f90e9512754188b6.zip
Bug 163343: Dynamic tab content is not disposed.
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java4
1 files changed, 4 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 17e0b08d1e..39f46bb1d3 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
@@ -27,6 +27,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;
@@ -445,6 +446,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