aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--rpmdrake.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 41b2bf0d..6bf58969 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- rpmdrake:
+ o fix a rare crash when canceling (#41970)
o list meta tasks in GUI package list too (#43114)
o update GUI package list
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 01036055..0870c632 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -736,7 +736,7 @@ sub update_sources {
Gtk2::Button->new(N("Cancel")),
clicked => sub {
$cancel = 1;
- $w->destroy;
+ $w and $w->destroy;
},
),
),