mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-13 01:03:03 +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);
|
||||
free(user_settings);
|
||||
tox_kill(m);
|
||||
#ifdef _SUPPORT_AUDIO
|
||||
terminate_audio();
|
||||
#endif /* _SUPPORT_AUDIO */
|
||||
tox_kill(m);
|
||||
endwin();
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user