Bug 310266 PartRenderingEngine shuts down when just one MWindow is destroyed
PartRenderingEngine's run(MApplicationElement, IEclipseContext) method has a big, inlined "HACK!!" comment in it. The problem is that it only checks for the disposal of one single shell. So if you have other shells hanging around (other MWindows), your whole application will be brought down even if you've only just closed one window.
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/workbench/swt/internal/PartRenderingEngine.java
if (lclContext instanceof IDisposable) {
					((IDisposable) lclContext).dispose();
				}
			}
		}
		return newWidget;
	}
	private IEclipseContext getContext(MElementContainer<MUIElement> parent) {
		if (parent instanceof MContext) {
			return ((MContext) parent).getContext();
		}
		return modelService.getContainingContext(parent);
	}
	public Object createGui(MUIElement element) {
		
		Object parent = null;
		MUIElement parentME = element.getParent();
		if (parentME != null) {
			AbstractPartRenderer renderer = getRendererFor(parentME);
			if (renderer != null) {
				parent = renderer.getUIContainer(element);
			}
		}
		return createGui(element, parent);
	}
	/**
	 * @param element
	 */
	public void removeGui(MUIElement element) {
		MUIElement parent = element.getParent();