mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: fix crash on /upgrade when hotlist contains buffers that are closed
This commit is contained in:
@@ -549,6 +549,9 @@ gui_hotlist_resort ()
|
||||
struct t_gui_hotlist *new_hotlist, *last_new_hotlist;
|
||||
struct t_gui_hotlist *ptr_hotlist, *element;
|
||||
|
||||
if (weechat_upgrading)
|
||||
return;
|
||||
|
||||
/* copy and resort hotlist in new linked list */
|
||||
new_hotlist = NULL;
|
||||
last_new_hotlist = NULL;
|
||||
|
||||
Reference in New Issue
Block a user