mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-06 22:56:35 +01:00
properly close all groupchats on exit
This commit is contained in:
@@ -158,7 +158,7 @@ int init_groupchat_win(ToxWindow *prompt, Tox *m, int groupnum, uint8_t type)
|
||||
return -1;
|
||||
}
|
||||
|
||||
void kill_groupchat_window(ToxWindow *self)
|
||||
static void kill_groupchat_window(ToxWindow *self)
|
||||
{
|
||||
ChatContext *ctx = self->chatwin;
|
||||
|
||||
@@ -173,7 +173,7 @@ void kill_groupchat_window(ToxWindow *self)
|
||||
del_window(self);
|
||||
}
|
||||
|
||||
static void close_groupchat(ToxWindow *self, Tox *m, int groupnum)
|
||||
void close_groupchat(ToxWindow *self, Tox *m, int groupnum)
|
||||
{
|
||||
tox_del_groupchat(m, groupnum);
|
||||
group_audio_close_out_device(groupnum);
|
||||
|
||||
Reference in New Issue
Block a user