summaryrefslogtreecommitdiff
path: root/src/core/weechat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/weechat.c')
-rw-r--r--src/core/weechat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/weechat.c b/src/core/weechat.c
index 4ca51da53..a6b2a06d4 100644
--- a/src/core/weechat.c
+++ b/src/core/weechat.c
@@ -483,6 +483,8 @@ weechat_shutdown (int return_code, int crash)
network_end ();
+ debug_end ();
+
if (crash)
abort();
else if (return_code >= 0)