| Summary: | Possible memory leak with org.eclipse.ui.texteditor.ShowWhitespaceCharactersAction | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Holger Schill <Holger.Schill> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Bernhard.Stadler, christian.dietrich.opensource, karsten.thoms, sebastian.zarnekow, sven.efftinge |
| Version: | unspecified | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
| Bug Depends on: | 354538 | ||
| Bug Blocks: | |||
|
Description
Holger Schill
Since the annotation model is referenced by the document itself, I don't think the back-reference from annotations to documents are the root cause for this leak. Removing the action from the toolbar in org.eclipse.xtend.ide.highlighting.ShowWhitespaceCharactersActionContributor.editorDisposed(XtextEditor) does not help. IToolBarManager toolBarManager = editor.getEditorSite().getActionBars().getToolBarManager(); toolBarManager.remove(ITextEditorActionConstants.SHOW_WHITESPACE_CHARACTERS); org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer still holds references to the editor. i can observe the problem when executing our xtend.ide tests with tycho Seems to be a caused by bug 354538 Fixed with https://git.eclipse.org/r/#/c/67267/ in Eclipse Oxygen |