summaryrefslogtreecommitdiff
path: root/Master/texmf/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-05-31 16:10:38 +0000
committerNorbert Preining <preining@logic.at>2010-05-31 16:10:38 +0000
commite9fc5f42ab453bfb4e380ed7ad4e2efc4a3cbb3c (patch)
treedc53e6f7a4923bf162d2e265619d60127f9dfba9 /Master/texmf/scripts
parent47c528d8d1be9257bea81e3280c6947b0929d73b (diff)
fix segfault in tlmgr gui TK after infra update
git-svn-id: svn://tug.org/texlive/trunk@18647 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/scripts')
-rw-r--r--Master/texmf/scripts/texlive/tlmgrgui.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgrgui.pl b/Master/texmf/scripts/texlive/tlmgrgui.pl
index ec349bb977d..b4007a09da5 100644
--- a/Master/texmf/scripts/texlive/tlmgrgui.pl
+++ b/Master/texmf/scripts/texlive/tlmgrgui.pl
@@ -1499,6 +1499,9 @@ sub update_all_packages {
# is run immediately
# make sure we exit in finish(0)
$::gui_mode = 0;
+ # also delete the main window before we kill the process to
+ # make sure that Tk is happy (segfault on cmd line, email Taco)
+ $mw->destroy;
finish(0);
}
reinit_local_tlpdb();
@@ -1523,6 +1526,9 @@ sub update_selected_packages {
# is run immediately
# make sure we exit in finish(0)
$::gui_mode = 0;
+ # also delete the main window before we kill the process to
+ # make sure that Tk is happy (segfault on cmd line, email Taco)
+ $mw->destroy;
finish(0);
}
reinit_local_tlpdb();