1
0
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:
Sébastien Helleu
2014-04-03 14:23:31 +02:00
parent 134713c6d1
commit 2a9bd75eee
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -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 ();