GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: Revert "nix stdin _readableState.reading" · nodejs/node@2498e29

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node.js‎

Copy file name to clipboardExpand all lines: src/node.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@
726726
// not-reading state.
727727
if (stdin._handle && stdin._handle.readStop) {
728728
stdin._handle.reading = false;
729-
stdin.push('');
729+
stdin._readableState.reading = false;
730730
stdin._handle.readStop();
731731
}
732732

@@ -735,7 +735,7 @@
735735
stdin.on('pause', function() {
736736
if (!stdin._handle)
737737
return;
738-
stdin.push('');
738+
stdin._readableState.reading = false;
739739
stdin._handle.reading = false;
740740
stdin._handle.readStop();
741741
});

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.