mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 06:36:34 +01:00
fix window cleanup bugs & give prompt its own cleanup func
This commit is contained in:
@@ -96,15 +96,10 @@ void exit_toxic_success(Tox *m)
|
||||
store_data(m, DATA_FILE);
|
||||
close_all_file_senders(m);
|
||||
kill_all_windows();
|
||||
log_disable(prompt->chatwin->log);
|
||||
line_info_cleanup(prompt->chatwin->hst);
|
||||
|
||||
free(DATA_FILE);
|
||||
free(prompt->stb);
|
||||
free(prompt->help);
|
||||
free(prompt->chatwin->log);
|
||||
free(prompt->chatwin->hst);
|
||||
free(prompt->chatwin);
|
||||
free(user_settings);
|
||||
|
||||
#ifdef _SUPPORT_AUDIO
|
||||
terminate_audio();
|
||||
#endif /* _SUPPORT_AUDIO */
|
||||
|
||||
Reference in New Issue
Block a user