IOChannel.getCloseOnUnref

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.

class IOChannel
bool
getCloseOnUnref
()

Return Value

Type: bool

TRUE if the channel will be closed, FALSE otherwise.