Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/electron/electron.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Jul 31, 2024
  2. Jul 30, 2024
  3. Jul 29, 2024
  4. Jul 28, 2024
    • trop[bot]'s avatar
      fix: always terminate active Node Streams (#43070) · 292dd765
      trop[bot] authored
      
      `.destroy()` is an important method in the lifecycle of a Node.js
      Readable stream. It is typically called to reclaim the resources
      (e.g., close file descriptor). The only situations where calling
      it manually isn't necessary are when the following events are
      emitted first:
      
      - `end`: natural end of a stream
      - `error`: stream terminated due to a failure
      
      Prior to this commit the ended state was incorrectly tracked together
      with a pending internal error. It led to situations where the request
      could get aborted during a read and then get marked as ended (having
      pending error).
      
      With this change we disentangle pending "error" and "destroyed" cases to
      always properly terminate an active Node.js Readable stream.
      
      Co-authored-by: default avatartrop[bot] <37223003+trop[bot]@users.noreply.github.com>
      Co-authored-by: default avatarFedor Indutny <79877362+indutny-signal@users.noreply.github.com>
      292dd765
  5. Jul 27, 2024
  6. Jul 26, 2024
  7. Jul 25, 2024
  8. Jul 24, 2024
  9. Jul 23, 2024
  10. Jul 22, 2024
  11. Jul 20, 2024
  12. Jul 18, 2024
  13. Jul 17, 2024
  14. Jul 16, 2024