Skip to content

fix(node): Anr should not block exit#10035

Merged
AbhiPrasad merged 2 commits intogetsentry:developfrom
timfish:fix/anr-exit
Jan 3, 2024
Merged

fix(node): Anr should not block exit#10035
AbhiPrasad merged 2 commits intogetsentry:developfrom
timfish:fix/anr-exit

Conversation

@timfish
Copy link
Copy Markdown
Collaborator

@timfish timfish commented Jan 3, 2024

Closes #10022

This could have also been fixed by notifying the worker to disconnect the debugger but this seems simpler.

@timfish timfish requested a review from AbhiPrasad January 3, 2024 11:56
}
}, 5_000);

childProcess.exec(`node ${testScriptPath}`, { encoding: 'utf8' }, (_, stdout) => {

Check warning

Code scanning / CodeQL

Shell command built from environment values

This shell command depends on an uncontrolled [absolute path](1).
@AbhiPrasad AbhiPrasad merged commit 25356d2 into getsentry:develop Jan 3, 2024
anonrig pushed a commit that referenced this pull request Jan 3, 2024
@timfish timfish deleted the fix/anr-exit branch January 10, 2024 16:12
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.

Script won't exit with ANR and captureStackTrace active

2 participants