diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-09-20 16:46:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 23:46:42 +0000 |
commit | 4b022103a14916de1c3bc539d123273750138915 (patch) | |
tree | ebff511f887c1742b1fd684d9530a6711fa20e26 /ext/node/polyfills/internal/child_process.ts | |
parent | 88a469e823658192daae1abe6f6e9bc14224c680 (diff) |
chore: Revert child_process close ordering change (#25781)
From
https://github.com/denoland/deno/commit/18b89d948dcb849c4dc577478794c3d5fb23b59
May have caused the recent flakiness of
parallel/test-child-process-ipc-next-tick.js
Diffstat (limited to 'ext/node/polyfills/internal/child_process.ts')
-rw-r--r-- | ext/node/polyfills/internal/child_process.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/internal/child_process.ts b/ext/node/polyfills/internal/child_process.ts index 175119afa..56fc21f35 100644 --- a/ext/node/polyfills/internal/child_process.ts +++ b/ext/node/polyfills/internal/child_process.ts @@ -391,8 +391,8 @@ export class ChildProcess extends EventEmitter { this.emit("exit", exitCode, signalCode); await this.#_waitForChildStreamsToClose(); this.#closePipes(); - nextTick(flushStdio, this); maybeClose(this); + nextTick(flushStdio, this); }); })(); } catch (err) { |