Skip to content

Commit 80076cb

Browse files
committed
tracing: remove shutdown-on-signal
This feature cannot be reasonably implemented this way without inherently being susceptible to race conditions that lead to hangs, crashes, etc. What’s more, implementing this for some signals only (and it can only be implemented for some signals at all) may lead to the impression that it is a guaranteed feature, when really consumers of the tracing output *need* to be able to handle abrupt ends meaningfully. Fixes: nodejs#14802 Fixes: nodejs#22528 PR-URL: nodejs#22734 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 23f8b02 commit 80076cb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/node.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,6 @@ void SetupProcessObject(Environment* env,
20532053

20542054
void SignalExit(int signo) {
20552055
uv_tty_reset_mode();
2056-
v8_platform.StopTracingAgent();
20572056
#ifdef __FreeBSD__
20582057
// FreeBSD has a nasty bug, see RegisterSignalHandler for details
20592058
struct sigaction sa;

0 commit comments

Comments
 (0)