From 49c9295d2e7e2035399c235f8e6aaa7471e99186 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 28 Jan 2008 17:50:58 +0000 Subject: (get_pkgs) make sure a wait dialog always got killed (fix #36921) [BACKPORT] --- Rpmdrake/pkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index d08e36b1..136f2bd9 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -235,7 +235,7 @@ sub get_pkgs { my $w = $::main_window; my $gurpm = Rpmdrake::gurpm->new(1 ? N("Please wait") : N("Package installation..."), N("Initializing..."), transient => $::main_window); - my $_gurpm_clean_guard = before_leaving { Rpmdrake::gurpm::end() }; + my $_gurpm_clean_guard = before_leaving { undef $gurpm }; #my $_flush_guard = Gtk2::GUI_Update_Guard->new; warn_about_media($w, $opts); -- cgit v1.2.1