tmf/ctf: Make CtfLocationInfo inline with code style
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / ctfadaptor / CtfTmfContext.java
index 50278cbba445f9333a2ffb5dbd2d8b89a16c6358..ad383a59e1dad9c2dce521fe25b496fe3a24c201 100644 (file)
@@ -6,7 +6,9 @@
  * accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html
  *
- * Contributors: Matthew Khouzam - Initial API and implementation
+ * Contributors:
+ *   Matthew Khouzam - Initial API and implementation
+ *   Simon Delisle - Remove the iterator in dispose()
  *******************************************************************************/
 
 package org.eclipse.linuxtools.tmf.core.ctfadaptor;
@@ -143,7 +145,7 @@ public class CtfTmfContext implements ITmfContext {
 
     @Override
     public void dispose() {
-        // do nothing
+        CtfIteratorManager.removeIterator(fTrace, this);
     }
 
     /**
This page took 0.024954 seconds and 5 git commands to generate.