diff options
Diffstat (limited to 'Master/texmf')
-rw-r--r-- | Master/texmf/scripts/texlive/tlmgrgui.pl | 6 |
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(); |