mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Replace deprecated g_io_channel_close with g_io_channel_shutdown.
g_io_channel_close flushes the buffer and does not return errors. g_io_channel_shutdown(handle, TRUE, NULL) keeps that behavior.
This commit is contained in:
parent
57f138c087
commit
138d4f4555
4 changed files with 9 additions and 9 deletions
|
|
@ -185,7 +185,7 @@ static void process_destroy(PROCESS_REC *rec, int status)
|
|||
exec_wi_destroy(rec->target_item);
|
||||
|
||||
line_split_free(rec->databuf);
|
||||
g_io_channel_close(rec->in);
|
||||
g_io_channel_shutdown(rec->in, TRUE, NULL);
|
||||
g_io_channel_unref(rec->in);
|
||||
net_sendbuffer_destroy(rec->out, TRUE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue