mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
core: close .upgrade files before deleting them after /upgrade
This commit is contained in:
@@ -769,6 +769,7 @@ upgrade_weechat_load ()
|
||||
|
||||
upgrade_file = upgrade_file_new (WEECHAT_UPGRADE_FILENAME, 0);
|
||||
rc = upgrade_file_read (upgrade_file, &upgrade_weechat_read_cb, NULL);
|
||||
upgrade_file_close (upgrade_file);
|
||||
|
||||
if (!hotlist_reset)
|
||||
gui_hotlist_clear ();
|
||||
|
||||
Reference in New Issue
Block a user