Bug 337002 EPartService leaks previously active part
A reference is kept to the previously active part. This is unnecessary. We only need it to fire events. After the deactivation events have been fired, we should no longer need to keep it lying around.
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
}
				if (selectedPart != null && selectedPart.isToBeRendered()
						&& getParts().contains(selectedPart)) {
					firePartVisible(selectedPart);
					firePartBroughtToTop(selectedPart);
				}
			}
		}
	};
	private MApplication application;
	/**
	 * Might be null if this part service is created for the application
	 */
	private MWindow workbenchWindow;
	@Inject
	private IPresentationEngine engine;
	@Inject
	private EModelService modelService;
	@Inject
	private Logger logger;
	@Inject
	@Optional
	private ISaveHandler saveHandler;
	@Inject
	private IEventBroker eventBroker;
	private PartActivationHistory partActivationHistory;
	private MPart activePart;
	private MPart lastActivePart;
	private ListenerList listeners = new ListenerList();
	private boolean constructed = false;