about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-05 22:46:00 +0100
committerJames Booth <boothj5@gmail.com>2016-07-05 22:46:00 +0100
commit1926ceea3d11cdf83fc2323aa512861e342e1eba (patch)
treeb7ca4568ac0c841d94e960f567105eab55f54fc5 /src/profanity.c
parent82458c9d96a0d1a81b1d8d2b5232780fb653f2ae (diff)
downloadprofani-tty-1926ceea3d11cdf83fc2323aa512861e342e1eba.tar.gz
Plugin unload remove cmd_acs and close window
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profanity.c b/src/profanity.c
index c9e19fa8..37e9dbcf 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -391,7 +391,6 @@ _shutdown(void)
     plugins_on_shutdown();
     muc_close();
     caps_close();
-    ui_close();
 #ifdef HAVE_LIBOTR
     otr_shutdown();
 #endif
@@ -402,10 +401,11 @@ _shutdown(void)
     theme_close();
     accounts_close();
     tlscerts_close();
-    cmd_uninit();
     log_stderr_close();
     log_close();
     plugins_shutdown();
+    cmd_uninit();
+    ui_close();
     prefs_close();
     if (saved_status) {
         free(saved_status);