1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

Fix crash with /upgrade (problem when closing buffers)

This commit is contained in:
Sebastien Helleu
2009-05-19 14:07:51 +02:00
parent 67f8f7386a
commit 37a73d8348
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -3247,6 +3247,8 @@ command_upgrade (void *data, struct t_gui_buffer *buffer,
exec_args[0] = ptr_binary;
exec_args[3] = strdup (weechat_home);
weechat_quit = 1;
/* save layout, unload plugins, save config, then upgrade */
gui_layout_save_on_exit ();
plugin_end ();