Close an IO channel. Any pending data to be written will be flushed if flush is true. The channel will not be freed until the last reference is dropped using glib.iochannel.IOChannel.unref.
if true, flush pending
the status of the operation.
IOChannelException
Close an IO channel. Any pending data to be written will be flushed if flush is true. The channel will not be freed until the last reference is dropped using glib.iochannel.IOChannel.unref.