about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profanity.c b/src/profanity.c
index 569c875e..f65d22e0 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -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