Closes the current item in the repository.
            All its children will be unfetched and closed.
517020
def closeCurrentItem(self):
        
        logger.debug("closeCurrentItem")
        currentItem, currentIndex = self.getCurrentItem()
        if not currentIndex.isValid():
            return

        # First we remove all the children, this will close them as well.
        self.model().removeAllChildrenAtIndex(currentIndex)

        # Close the current item. BaseRti.close will emit the self.model.sigItemChanged signal,
        # which is connected to RepoTreeView.onItemChanged.
        currentItem.close()
        self.dataChanged(currentIndex, currentIndex)
        self.collapse(currentIndex)
871936
public void close() {
		stopFetching = true;
		if(rowFetcher != null)
			rowFetcher.interrupt();
		try {
			results.close();
		} catch (OWLException e) {
			// TODO: Handle this in a reasonable manner
			System.out.println(e);
		}
	}
547660
def _Close(self):
    
    self._cpio_archive_file.Close()
    self._cpio_archive_file = None

    self._file_object.close()
    self._file_object = None
766351
public void close() throws IOException {
    if (kids != null) {
      for (RecordReader<K,? extends Writable> rr : kids) {
        rr.close();
      }
    }
    if (jc != null) {
      jc.close();
    }
  }
1115243
def close(self):
        # type: () -> None
        '''
        
        '''
        if not self._initialized:
            raise pycdlibexception.PyCdlibInvalidInput('This object is not yet initialized; call either open() or new() to create an ISO')

        if self._managing_fp:
            # In this case, we are managing self._cdfp, so we need to close it
            self._cdfp.close()

        self._initialize()
1107846
@Override
	public void close() {
		Optional<LocalTransactionContext> txContext = currentTxContext();
		if (txContext.isPresent()) {
			this.txCtxStack.forEach((elem) -> elem.close());
			this.txCtxStack.clear();
		} else {
			this.unmanagedTransaction.ifPresent(LocalTransactionContext::close);
		}
	}
740100
public function close()
    {
        if (!is_resource($this->socket)) {
            return;
        }

        fclose($this->socket);
        $this->socket = null;
    }
721547
def close(self):
        
        # This may not be absolutely necessary, but it is safe.
        # It's the closest thing to a close() method.
        if self._dev is not None:
            usb.util.dispose_resources(self._dev)
            self._dev = None
185025
def close(self):
        
        self.result_set = None
        if self.impl is not None:
            self.impl._reset()
        self.impl = None
626448
def close(self) -> None:
        """"""
        while self.wdl:
            _, wdl = self.wdl.popitem()
            wdl.close()

        while self.dtz:
            _, dtz = self.dtz.popitem()
            dtz.close()

        self.lru.clear()
631375
@Override
  public void close() throws IOException {
    if(git != null) {
      IOUtils.closeQuietly(git);
      git = null;
    }
    latch.countDown();
    try {
      latch.notifyAll();
    } catch(Exception e) {
      logger.trace("Failed to notifyAll");
    }
    try {
      locker.notifyAll();
    } catch(Exception e) {
      logger.trace("Failed to notifyAll");
    }
  }
766599
def close(self):
        ''''''
        self.close_event.set()
        if self.is_alive():
            self.child.join(2)
229228
public void close ()
        throws IOException
    {
        if (_sock != null) {
            _sock.close();

            // clear out our references
            _sock = null;
            _in = null;
            _out = null;
        }
    }
1058056
function(){
    if (this.isClosed){ return; }

    this.triggerMethod('item:before:close');

    Marionette.View.prototype.close.apply(this, slice(arguments));

    this.triggerMethod('item:closed');
  }
670272
def close():
    
    while len(wt_group.Group._instances) > 0:
        wt_group.Group._instances.popitem()[1].close()
1292821
@Override
	public void close() {
		if (leaf != null) {
			leaf.close();
			leaf = null;
		}
		dirsMayBeUpdated = null;
	}
1078922
def close(self):
        
        self.sync()
        self.sync = self.create = self.delete = self._closed
        self._write_to_file = self._read_to_file = self._closed
        self._key_to_filename = self._filename_to_key = self._closed
        self.__getitem__ = self.__setitem__ = self.__delitem__ = self._closed
        self.__iter__ = self.__len__ = self.__contains__ = self._closed