summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ratox.c b/ratox.c
index fa78f13..db8f06d 100644
--- a/ratox.c
+++ b/ratox.c
@@ -1959,6 +1959,8 @@ shutdown(void)
if (idfd != -1)
close(idfd);
+ datasave();
+
toxav_kill(toxav);
tox_kill(tox);
}