public override void Close() { if (Handle != IntPtr.Zero) { Libeio.close(Handle.ToInt32(), OnCloseDone); Handle = IntPtr.Zero; } base.Close(); }
void CloseFile() { Libeio.close(sourceFd, err => { }); sourceFd = 0; }