Example #1
0
        public void Close()
        {
            int fd = _fileDescriptor;

            _mode           = _mode.Close();
            _fileDescriptor = -1;

            if (_stream != null)
            {
                _stream = null;
                _context.CloseStream(fd);
            }
        }
Example #2
0
 private void Close()
 {
     _mode = _mode.Close();
 }