mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 23:13:26 +01:00
terminate audio before core on exit
This commit is contained in:
parent
2a63e62aba
commit
6a2ef5cc6c
@ -442,10 +442,10 @@ void exit_toxic(Tox *m)
|
|||||||
free(prompt->chatwin->hst);
|
free(prompt->chatwin->hst);
|
||||||
free(prompt->chatwin);
|
free(prompt->chatwin);
|
||||||
free(user_settings);
|
free(user_settings);
|
||||||
tox_kill(m);
|
|
||||||
#ifdef _SUPPORT_AUDIO
|
#ifdef _SUPPORT_AUDIO
|
||||||
terminate_audio();
|
terminate_audio();
|
||||||
#endif /* _SUPPORT_AUDIO */
|
#endif /* _SUPPORT_AUDIO */
|
||||||
|
tox_kill(m);
|
||||||
endwin();
|
endwin();
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user