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

Fixed random crash at exit (/quit or /upgrade) with splited windows

This commit is contained in:
Sebastien Helleu
2006-05-25 19:12:31 +00:00
parent 02c0b9fab3
commit 7f0a3f795b
4 changed files with 14 additions and 10 deletions
+4 -5
View File
@@ -328,15 +328,14 @@ gui_main_end ()
while (gui_panels)
gui_panel_free (gui_panels);
/* delete all buffers */
gui_window_merge_all (gui_current_window);
while (gui_buffers)
gui_buffer_free (gui_buffers, 0);
/* delete all windows */
while (gui_windows)
gui_window_free (gui_windows);
gui_window_tree_free (&gui_windows_tree);
/* delete all buffers */
while (gui_buffers)
gui_buffer_free (gui_buffers, 0);
/* delete global history */
history_global_free ();