about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-30 20:30:35 +0000
committerJames Booth <boothj5@gmail.com>2014-01-30 20:30:35 +0000
commit9bb1fae291515156dd9eafff017282c6e1613a76 (patch)
treef2e4fd68afa8848bbb644b0b0a18ad9192d4843d /src/profanity.c
parentadb360072b99fddbec12e68ea38f1dc3a2e4ed7a (diff)
downloadprofani-tty-9bb1fae291515156dd9eafff017282c6e1613a76.tar.gz
Close UI windows on /quit
fixes #296
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/profanity.c b/src/profanity.c
index 6e15f1dd..166a78c0 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -314,6 +314,7 @@ _init(const int disable_tls, char *log_level)
 static void
 _shutdown(void)
 {
+    ui_close_all_wins();
     jabber_disconnect();
     jabber_shutdown();
     roster_free();