private void cleanup()

in src/com/pty4j/windows/conpty/WinConPtyProcess.java [209:226]


  private void cleanup() {
    try {
      ProcessUtils.closeHandles(processInformation);
    } catch (IOException e) {
      LOG.info("Cannot close handle", e);
    }
    pseudoConsole.close();
    try {
      myInputStream.close(false);
    } catch (IOException e) {
      LOG.info("Cannot close input stream", e);
    }
    try {
      myOutputStream.close(false);
    } catch (IOException e) {
      LOG.info("Cannot close output stream", e);
    }
  }