Skip to content

Conversation

@jtojnar
Copy link

@jtojnar jtojnar commented Dec 30, 2025

shutdown and close methods do not actually unref the channel:

The channel will not be freed until the last reference is dropped using g_io_channel_unref().

https://docs.gtk.org/glib/method.IOChannel.close.html
https://docs.gtk.org/glib/method.IOChannel.shutdown.html

@danmar
Copy link
Owner

danmar commented Jan 2, 2026

The cppcheck-premium failure is not your fault. I have updated the license in the upstream repo. So if you rebase and rerun that job it should succeed.

`shutdown` and `close` methods do not actually unref the channel:

    The channel will not be freed until the last reference is dropped using g_io_channel_unref().

https://docs.gtk.org/glib/method.IOChannel.close.html
https://docs.gtk.org/glib/method.IOChannel.shutdown.html
@jtojnar jtojnar force-pushed the glib-channel-non-desctructors branch from bfe9679 to fabde6a Compare January 2, 2026 23:09
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 2, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants