Close the cursor.
185025
def close(self):
        
        self.result_set = None
        if self.impl is not None:
            self.impl._reset()
        self.impl = None
1186671
def close(self):
        
        if self._closed:
            raise ProgrammingError('the cursor is already closed')
        if self._id is not None:
            self._connection._client.close_statement(self._connection._id, self._id)
            self._id = None
        self._signature = None
        self._column_data_types = []
        self._frame = None
        self._pos = None
        self._closed = True
992225
private void closeCursor() {
        if (mCursor != null) {
            int count = mCursor.getCount();
            mCursor.close();
            mCursor = null;
            notifyItemRangeRemoved(0, count);
        }
        updateCursorObserver();
    }
914367
def close(self, ulBuffer):
        """"""

        fn = self.function_table.close
        result = fn(ulBuffer)
        return result
838085
def close(self):
        
        if hasattr(self, "_browser"):
            self.loop.run_until_complete(self._browser.close())
        super().close()
541033
def Stop(self):
    """"""
    self._Close()

    if self._rpc_thread.isAlive():
      self._rpc_thread.join()
    self._rpc_thread = None
347878
def close(self):
        """"""
        if self.sock:
            self.sock.close()
        self.sock = 0
        self.eof = 1
630642
def close(self):
    
    if not self.closed:
      self.closed = True
      self._flush(finish=True)
      self._buffer = None
727539
def close(self, reason):
        """"""
        self._closing = True
        self.do_close(reason)
        self._closing = False
448840
def close(self):
        """"""
        if self._subprocess is not None:
            os.killpg(self._subprocess.pid, signal.SIGTERM)
            self._subprocess = None
825488
def close(self):
        '''
        '''
        try:
            self.dut.close()
        except Exception:
            logging.warning('Closing DUT was not successful')
        else:
            logging.debug('Closed DUT')
405827
def close(self):
        """"""
        if self.fp is None:
            return

        try:
            if self.mode in ('w', 'x', 'a') and self._didModify:  # write ending records
                with self._lock:
                    if self._seekable:
                        self.fp.seek(self.start_dir)
                    self._write_end_record()
        finally:
            fp = self.fp
            self.fp = None
            self._fpclose(fp)
1368818
def close(self):
        """"""
        self.flush()
        if self._recordio_writer is not None:
            self._recordio_writer.close()
            self._recordio_writer = None
1031828
def close(self):
        """"""
        try:
            self._socket.sendall('quit\r\n')
        except socket.error:
            pass
        try:
            self._socket.close()
        except socket.error:
            pass
812645
def close(self):
        """"""
        self._closed = True
        if self.receive_task:
            self.receive_task.cancel()
        if self.connection:
            self.connection.close()
684811
def close(self, connection, *, commit=True):
    """"""
    if commit:
      connection.commit()
    else:
      connection.rollback()
    self.closer(connection)
478795
def close(self):
        """"""
        if self._proc is not None:
            self._proc.stdin.close()
            self._proc.wait()