diff -r 2f45a03838e9 -r b119cf7a05b9 libpurple/purple-gio.c --- a/libpurple/purple-gio.c Fri Jul 24 04:43:46 2020 -0500 +++ b/libpurple/purple-gio.c Mon Jul 27 00:20:24 2020 -0500 @@ -49,9 +49,10 @@ /* Close input stream, from wrapper or GIOStream */ if (!g_input_stream_close(data->input, NULL, &error)) { - purple_debug_warning("gio", - "Error closing input stream: %s", - error->message); + if (error->code != G_IO_ERROR_CANCELLED) { + purple_debug_warning("gio", "Error closing input stream: %s", + error->message); + } g_clear_error(&error); } @@ -59,9 +60,10 @@ /* Close output stream, from wrapper or GIOStream */ if (!g_output_stream_close(data->output, NULL, &error)) { - purple_debug_warning("gio", - "Error closing output stream: %s", - error->message); + if (error->code != G_IO_ERROR_CANCELLED) { + purple_debug_warning("gio", "Error closing output stream: %s", + error->message); + } g_clear_error(&error); } @@ -69,9 +71,10 @@ /* Close io stream */ if (!g_io_stream_close(data->stream, NULL, &error)) { - purple_debug_warning("gio", - "Error closing stream: %s", - error->message); + if (error->code != G_IO_ERROR_CANCELLED) { + purple_debug_warning("gio", "Error closing stream: %s", + error->message); + } g_clear_error(&error); }