Commit c5a5116
committed
Capture long-operation time before workbench shutdown
Avoid calling PlatformUI.getWorkbench() from disconnectFromWorkspace(),
which runs from postShutdown() and may execute (via the workspace-locked
timerExec retry) after the workbench has been torn down. The display is
fetched via Display.getCurrent(), matching the existing pattern in
postShutdown(), and the long-operation time is captured in initialize().1 parent 1341a35 commit c5a5116
1 file changed
Lines changed: 11 additions & 2 deletions
File tree
- bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
156 | 163 | | |
157 | 164 | | |
158 | 165 | | |
| |||
191 | 198 | | |
192 | 199 | | |
193 | 200 | | |
| 201 | + | |
| 202 | + | |
194 | 203 | | |
195 | 204 | | |
196 | 205 | | |
| |||
487 | 496 | | |
488 | 497 | | |
489 | 498 | | |
490 | | - | |
491 | | - | |
| 499 | + | |
| 500 | + | |
492 | 501 | | |
493 | 502 | | |
494 | 503 | | |
| |||
0 commit comments