src: stop tracing agent before shutting down libuv · nodejs/node@30d783f · GitHub
Skip to content

Commit 30d783f

Browse files
santigimenojuanarbol
authored andcommitted
src: stop tracing agent before shutting down libuv
Otherwise there might be pending tracing fs writes which lead to a crash because the libuv threadpool is already gone. Fixes: #46376 PR-URL: #46380 Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c0d3fda commit 30d783f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/api/environment.cc

Lines changed: 4 additions & 0 deletions

0 commit comments

Comments
 (0)