Skip to content

Commit e2029dd

Browse files
authored
fix: occasional SWTException: Widget is disposed when hovering (#1389)
1 parent e7a6e6e commit e2029dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

org.eclipse.lsp4e/src/org/eclipse/lsp4e/operations/hover/FocusableBrowserInformationControl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected void createContent(Composite parent) {
9393
}
9494

9595
private void updateBrowserSize(final Browser browser) {
96-
if (browser.isDisposed() || getInput() == null)
96+
if (getShell().isDisposed() || browser.isDisposed() || getInput() == null)
9797
return;
9898

9999
@Nullable

0 commit comments

Comments
 (0)