IOChannel.close
void close()Close an IO channel. Any pending data to be written will be flushed, ignoring errors. The channel will not be freed until the last reference is dropped using [glib.iochannel.IOChannel.unref].
Deprecated
Use [glib.iochannel.IOChannel.shutdown] instead.