Commit fa72b53
committed
MultipageEditorPart check for tab disposal when getting Editor
Getting an editor of a MultpageEditorPart during disposal of the editor
led to dispose exceptions as getEditor is accessing an Item's data
without checking for disposal. This happened for example when during
shutdown the Web-kit widget is sending SWT events. (see
eclipse-4diac/4diac-ide#1808 for details). By
checking for disposal of the item. This issue is prevent.1 parent 39d028e commit fa72b53
File tree
1 file changed
+3
-6
lines changed- bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/part
1 file changed
+3
-6
lines changedLines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
| 651 | + | |
| 652 | + | |
656 | 653 | | |
657 | 654 | | |
658 | 655 | | |
| |||
0 commit comments