1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 06:06:34 +01:00

properly close file senders on exit

This commit is contained in:
Jfreegman
2014-06-28 12:55:05 -04:00
parent 8d4f7fc32b
commit f8998b5891
4 changed files with 28 additions and 19 deletions

View File

@@ -95,7 +95,10 @@ static void ignore_SIGINT(int sig)
void exit_toxic_success(Tox *m)
{
store_data(m, DATA_FILE);
close_all_file_senders();
close_all_file_senders(m);
usleep(1000);
kill_all_windows();
log_disable(prompt->chatwin->log);
line_info_cleanup(prompt->chatwin->hst);