Skip to content

Commit 185673b

Browse files
committed
tmf: Exit loop only when match was found when removing data provider
PR (eclipse-tracecompass#254) exited the loop after the first iteration. fixes eclipse-tracecompass#253. Signed-off-by: Bernd Hufmann <[email protected]>
1 parent ccff6fb commit 185673b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)