void close()

in src/com/pty4j/windows/conpty/WinHandleOutputStream.java [51:61]


  void close(boolean explicit) throws IOException {
    if (explicit) {
      myClosedExplicitly = true;
    }
    if (!myClosed) {
      myClosed = true;
      if (!Kernel32.INSTANCE.CloseHandle(myWritePipe)) {
        throw new LastErrorExceptionEx("CloseHandle stdout");
      }
    }
  }