1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

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
This commit is contained in:
Nathan Whitaker 2024-09-20 16:46:42 -07:00 committed by GitHub
parent 88a469e823
commit 4b022103a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {