]> git.kaiwu.me - njs.git/commit
QuickJS: stop tracking rejections during final report
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 28 Sep 2026 22:42:40 +0000 (15:42 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Tue, 29 Sep 2026 18:57:53 +0000 (11:57 -0700)
commit353c202022f3d149218e53d09567cdb7c01fdf6a
tree50ef7e8de0c147dff43690bd634fcf1e8ea7854d
parent82697e083439d3f7d662a03c85184ba0a5696161
QuickJS: stop tracking rejections during final report

Converting the rejection reason to a log string may reject another
promise.  Disable the tracker before reporting so new rejections
cannot leave references in the request context after its list has
been drained.
nginx/ngx_js.c