summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index a67cf7893..9bdb53042 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -151,12 +151,13 @@ sub ask_from_entries_ref($$$$;$%) {
$o->ask_from_entries_refW($title, $message, $l, $val_hash, %callback)
}
-sub wait_message($$$) {
- my ($o, $title, $message) = @_;
+sub wait_message($$$;$) {
+ my ($o, $title, $message, $temp) = @_;
$message = ref $message ? $message : [ $message ];
my $w = $o->wait_messageW($title, [ _("Please wait"), @$message ]);
+ push @tempory::objects, $w if $temp;
my $b = before_leaving { $o->wait_message_endW($w) };
#- enable access through set