Bug 7235 [Contributions] Need dispose() for action delegates
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ToolBarManager.java
if (separator != null) {
						if (clean.size() > 0)	
							clean.add(separator);
						separator= null;
					}
					clean.add(ci);
				}
			}
			
			Item[] mi= toolBar.getItems();
			ArrayList toRemove = new ArrayList(mi.length);
			for (int i= 0; i < mi.length; i++) {
				Object data= mi[i].getData();
				if (data == null || !clean.contains(data) ||
						(data instanceof IContributionItem && ((IContributionItem)data).isDynamic())) {
					toRemove.add(mi[i]);
				}
			}
			 
			
			
			
			
			boolean useRedraw = (clean.size() - (mi.length - toRemove.size())) >= 3;
			if (useRedraw) {
				toolBar.setRedraw(false);
			}
			
			for (int i = toRemove.size(); --i >= 0;) {
				ToolItem item = (ToolItem) toRemove.get(i);