Commit 4a2727c
committed
Check if platform is running
Currently it can happen that the platform is already shut down (e.g.
very fast unit test) and then we see ugly exceptions in the log.
This now first check if the platform is actually running before access
it.1 parent b713603 commit 4a2727c
2 files changed
Lines changed: 4 additions & 2 deletions
File tree
- bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui
- internal
- statushandlers
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
661 | | - | |
| 661 | + | |
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| |||
0 commit comments