1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

shutdown: Call prefs_close() after log_close()

log_msg() uses prefs, so prefs_close() should be called after
log_close(). It makes possible to use logs in other finalisation
functions.
This commit is contained in:
Dmitry Podgorny 2015-06-22 11:43:12 +00:00
parent 9b797f3cef
commit c851a48af2

View File

@ -280,11 +280,11 @@ _shutdown(void)
p_gpg_close();
#endif
chat_log_close();
prefs_close();
theme_close();
accounts_close();
cmd_uninit();
log_close();
prefs_close();
}
static void