diff options
author | sin <sin@2f30.org> | 2014-12-01 15:04:36 +0000 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-12-01 15:04:36 +0000 |
commit | 9046382217acceb141e6199fd3a35c8721dbe9fc (patch) | |
tree | e94f74ea10dba58a87b89ecc951aacaa1b6b6a9b | |
parent | 3f75a2eadf90f67583bd3270823e62c5fccc403a (diff) |
Save data file on receipt of a deadly signal
-rw-r--r-- | ratox.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1959,6 +1959,8 @@ shutdown(void) if (idfd != -1) close(idfd); + datasave(); + toxav_kill(toxav); tox_kill(tox); } |