From aacb3d83d84bdffce0b07a039767bcb0f59752c2 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Mon, 4 May 2020 19:24:24 +0200 Subject: [PATCH] WaitingDialog: fix dispose --- ui/WaitingDialog.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/WaitingDialog.java b/ui/WaitingDialog.java index 7df5a8b..0fd4574 100644 --- a/ui/WaitingDialog.java +++ b/ui/WaitingDialog.java @@ -163,7 +163,6 @@ public class WaitingDialog extends JDialog { synchronized (waitLock) { if (waitScreen) { setVisible(false); - dispose(); } waitScreen = true; } @@ -171,5 +170,7 @@ public class WaitingDialog extends JDialog { if (pg != null) { pg.removeProgressListener(pgl); } + + dispose(); } } -- 2.27.0