summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-09-26 08:47:29 +0530
committerGitHub <noreply@github.com>2024-09-26 08:47:29 +0530
commit121d9697a17c66fce2ba974cb0b0f735ca420fce (patch)
treede7fca5c2c40b5b364a510c1100e6e110f5893e6
parent5504acea6751480f1425c88353ad5d36257bdce7 (diff)
fix(ext/node): fix process.stdin.pause() (#25864)
Fixes https://github.com/denoland/deno/issues/25844
-rw-r--r--ext/node/polyfills/net.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/node/polyfills/net.ts b/ext/node/polyfills/net.ts
index 6625ce7b5..48e1d0de8 100644
--- a/ext/node/polyfills/net.ts
+++ b/ext/node/polyfills/net.ts
@@ -951,7 +951,6 @@ export class Socket extends Duplex {
*/
override pause(): this {
if (
- this[kBuffer] &&
!this.connecting &&
this._handle &&
this._handle.reading