mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-20 11:26:35 +02:00
terminate audio before core on exit
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user