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. Sep 05, 2024
  2. Sep 04, 2024
  3. Aug 31, 2024
  4. Aug 24, 2024
  5. Aug 22, 2024
  6. Aug 21, 2024
  7. Aug 20, 2024
  8. Aug 19, 2024
  9. Aug 14, 2024
  10. Aug 12, 2024
  11. Aug 10, 2024
  12. Aug 07, 2024
  13. Aug 06, 2024
  14. Aug 05, 2024
  15. Aug 02, 2024
  16. Aug 01, 2024
  17. Jul 31, 2024
  18. Jul 28, 2024
    • trop[bot]'s avatar
      fix: always terminate active Node Streams (#43072) · e5237eb2
      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>
      e5237eb2
  19. Jul 27, 2024
  20. Jul 24, 2024