]> git.kaiwu.me - njs.git/commit
Fixed async ctx erasing when a function is called multiple times.
authorAlexander Borisov <alexander.borisov@nginx.com>
Thu, 2 Sep 2021 16:32:27 +0000 (19:32 +0300)
committerAlexander Borisov <alexander.borisov@nginx.com>
Thu, 2 Sep 2021 16:32:27 +0000 (19:32 +0300)
commit411d477fe4be1b30b53246866fbd846eb8575f00
tree6ce8cec8d526bf0137ea508f19ebf3c2cc06eaca
parent505d14ddcfad1d9b3817989af624347115da9e69
Fixed async ctx erasing when a function is called multiple times.

The bug was introduced in 92d10cd761e2.
src/njs_async.c
src/njs_function.c
src/njs_value.h
src/njs_vmcode.c
test/js/async_await_many_call.js [new file with mode: 0644]
test/njs_expect_test.exp