1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Moved shutdown hook, so disconnect hook runs first

This commit is contained in:
James Booth 2013-09-03 22:51:02 +01:00
parent e094e3d052
commit 107c0b9b15

View File

@ -654,9 +654,9 @@ _init(const int disable_tls, char *log_level)
static void
_shutdown(void)
{
plugins_on_shutdown();
jabber_disconnect();
jabber_shutdown();
plugins_on_shutdown();
roster_free();
caps_close();
ui_close();