Commit 7e1f3a9
committed
Avoid NPE from find/replace overlay when closing workbench
A missing null check when performing an asynchronous execution on the
display of the find/replace overlay's shell leads to a
NullPointerException at least when closing a workbench. This change adds
an according null check.1 parent 08d06f9 commit 7e1f3a9
File tree
1 file changed
+6
-2
lines changed- bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/findandreplace/overlay
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
229 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
230 | 234 | | |
231 | 235 | | |
232 | 236 | | |
| |||
0 commit comments