mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -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();
|
p_gpg_close();
|
||||||
#endif
|
#endif
|
||||||
chat_log_close();
|
chat_log_close();
|
||||||
prefs_close();
|
|
||||||
theme_close();
|
theme_close();
|
||||||
accounts_close();
|
accounts_close();
|
||||||
cmd_uninit();
|
cmd_uninit();
|
||||||
log_close();
|
log_close();
|
||||||
|
prefs_close();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user