]> git.kaiwu.me - njs.git/commit
Fixed catching of exception thrown in try block of async function.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 30 Nov 2021 14:55:57 +0000 (14:55 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 30 Nov 2021 14:55:57 +0000 (14:55 +0000)
commit3d44059ce047569f310da43b35d5071b41b2e396
treea8a26795eac2ff2cd96665b881974d632d713c32
parent0ab56b9ee77c6966b766b505c611a10cf16f15f5
Fixed catching of exception thrown in try block of async function.

The bug was introduced in 92d10cd761e2 (0.7.0).
src/njs_async.c
src/njs_async.h
src/njs_function.c
src/njs_function.h
src/njs_vmcode.c
test/js/async_throw_in_try_after_await.t.js [new file with mode: 0644]