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:
parent
88a469e823
commit
4b022103a1
1 changed files with 1 additions and 1 deletions
|
@ -391,8 +391,8 @@ export class ChildProcess extends EventEmitter {
|
||||||
this.emit("exit", exitCode, signalCode);
|
this.emit("exit", exitCode, signalCode);
|
||||||
await this.#_waitForChildStreamsToClose();
|
await this.#_waitForChildStreamsToClose();
|
||||||
this.#closePipes();
|
this.#closePipes();
|
||||||
nextTick(flushStdio, this);
|
|
||||||
maybeClose(this);
|
maybeClose(this);
|
||||||
|
nextTick(flushStdio, this);
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Reference in a new issue