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:
parent
9b797f3cef
commit
c851a48af2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user