Skip to content

Commit f928038

Browse files
committed
tmf: Exit loop only when match was found when removing data provider
PR (#254) exited the loop after the first iteration. fixes #253. Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
1 parent ccff6fb commit f928038

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/dataprovider/DataProviderManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ public void removeDataProvider(ITmfTrace trace, String id) {
378378
if (dp.getId().equals(id)) {
379379
dp.dispose();
380380
iter.remove();
381+
break;
381382
}
382-
break;
383383
}
384384
}
385385

0 commit comments

Comments
 (0)