commit 9046382217acceb141e6199fd3a35c8721dbe9fc parent 3f75a2eadf90f67583bd3270823e62c5fccc403a Author: sin <sin@2f30.org> Date: Mon, 1 Dec 2014 15:04:36 +0000 Save data file on receipt of a deadly signal Diffstat:
M | ratox.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/ratox.c b/ratox.c @@ -1959,6 +1959,8 @@ shutdown(void) if (idfd != -1) close(idfd); + datasave(); + toxav_kill(toxav); tox_kill(tox); }