From 1489ade104320b959684c9112b47277e0cbe82bb Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Tue, 9 Aug 2022 13:44:22 +0200 Subject: safeguard --- .../gui/composites/configuration/SimpleConfigurationComposite.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pdf-over-gui') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java index 167d50ea..ea26cd9a 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java @@ -438,6 +438,8 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase { return; this.getDisplay().syncExec(() -> { + if (this.isDisposed()) + return; if (this.sigPreviewParam != param) return; if (this.sigPreview != null) -- cgit v1.2.3