function get_close_on_unref(): Boolean {
    // Gjs wrapper for g_io_channel_get_close_on_unref()

Returns whether the file/socket/whatever associated with channel will be closed when channel receives its final unref and is destroyed. The default value of this is true for channels created by g_io_channel_new_file (), and false for all other channels.


Whether the channel will be closed on the final unref of the GIOChannel data structure.