Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(runtime):ChildProcess. kill() error #27124

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

yuxi-ovo
Copy link

fixes #27112
I only have a try catch package for him, and I don't know what the next steps should be

@@ -354,7 +354,12 @@ class ChildProcess {
if (this.#waitComplete) {
throw new TypeError("Child process has already terminated");
}
op_spawn_kill(this.#rid, signo);
try {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yuxi-ovo I do not believe this fixes the issue. The error that was thrown in the issue is what is produced by line 355. Swallowing the error should be done on line 299 of this file :). The other option is to suppress the error entirely here but that is a discussion for the maintainers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error aborting a child process' signal right when it exits
2 participants