quickjs-tart

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

commit 9b744a5be04440daba6cdac70f8199dd93caedec
parent 3865b1feea1ea8d14d7a88db0686e889342befd3
Author: Akos Kiss <akiss@inf.u-szeged.hu>
Date:   Sat, 27 Jul 2024 11:34:49 +0200

Fix termination in Worker test

Function names are case sensitive, `onMessage` is not the same as
`onmessage`.

Related to #98

Diffstat:
Mquickjs/tests/test_worker_module.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quickjs/tests/test_worker_module.js b/quickjs/tests/test_worker_module.js @@ -10,7 +10,7 @@ function handle_msg(e) { switch(ev.type) { case "abort": parent.postMessage({ type: "done" }); - parent.onMessage = null; /* terminate the worker */ + parent.onmessage = null; /* terminate the worker */ break; case "sab": /* modify the SharedArrayBuffer */