mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Bug 411634 - [visualizer] Small leak when multicore visualizer is closed
but debug session is still running Change-Id: I3e9003cd34e990a71dac0e310f3e14a6eb54085e Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/14051
This commit is contained in:
parent
0f64dbba50
commit
07374825fd
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
* Marc Dumais (Ericsson) - Bug 405390
|
||||
* Marc Dumais (Ericsson) - Bug 409006
|
||||
* Marc Dumais (Ericsson) - Bug 407321
|
||||
* Marc-Andre Laperle (Ericsson) - Bug 411634
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.dsf.gdb.multicorevisualizer.internal.ui.view;
|
||||
|
@ -222,6 +223,7 @@ public class MulticoreVisualizer extends GraphicCanvasVisualizer
|
|||
removeDebugViewerListener();
|
||||
disposeActions();
|
||||
disposeLoadMeterTimer();
|
||||
removeEventListener();
|
||||
}
|
||||
|
||||
|
||||
|
@ -746,6 +748,12 @@ public class MulticoreVisualizer extends GraphicCanvasVisualizer
|
|||
}
|
||||
}
|
||||
|
||||
private void removeEventListener() {
|
||||
if (m_sessionState != null) {
|
||||
m_sessionState.removeServiceEventListener(fEventListener);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Invoked by VisualizerViewer when workbench selection changes.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue