Bug 330467 [Compatibility] Workbench window menu bar submenus keeps growing
Submenus like 'Search > Text' keeps growing in size.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/MenuManagerRendererFilter.java
}
		public void run() throws Exception {
			safeHandleEvent(event);
		}
	}
	private SafeWrapper safeWrapper = new SafeWrapper();
	public void handleEvent(final Event event) {
		
		
		safeWrapper.event = event;
		SafeRunner.run(safeWrapper);
	}
	private void safeHandleEvent(Event event) {
		if (!(event.widget instanceof Menu)) {
			return;
		}
		final Menu menu = (Menu) event.widget;
		if ((menu.getStyle() & SWT.BAR) != 0) {
			
			return;
		}
		if (event.type == SWT.Dispose) {
			trace("handleMenu.Dispose", menu, null); 
			cleanUp(menu, null, null);
			return;
		}
		
		MMenu menuModel = null;
		MenuManager menuManager = null;
		Object obj = menu.getData(AbstractPartRenderer.OWNING_ME);