Skip to content

Commit

Permalink
Don't fail on null shell supplier
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveeclipse authored and akurtakov committed Oct 14, 2024
1 parent 53b4ab2 commit 10a861c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ protected void finished(Description description) {
}

public void dispose() {
if (shell == null) {
return;
}
Widget widget = shell.get();
if (widget != null && !widget.isDisposed()) {
widget.dispose();
Expand Down

0 comments on commit 10a861c

Please sign in to comment.