quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

commit 8c02d18321450507458d9b715e4f9d9d2e5c14d3
parent df794f2aeff99c139fddde2252e2961862e8c24e
Author: Fabrice Bellard <fabrice@bellard.org>
Date:   Mon, 22 Jan 2024 18:03:35 +0100

fixed js_std_await() in case 'obj' is not a promise (github issue #222)

Diffstat:
Mquickjs/quickjs-libc.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/quickjs/quickjs-libc.c b/quickjs/quickjs-libc.c @@ -4912,6 +4912,7 @@ JSValue js_std_await(JSContext *ctx, JSValue obj) } else { /* not a promise */ ret = obj; + break; } } return ret;