projects
/
onyx-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a6c89
)
fixed an infinite loop
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Tue, 14 Sep 2021 20:11:13 +0000
(15:11 -0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Tue, 14 Sep 2021 20:11:13 +0000
(15:11 -0500)
static/src/index.js
patch
|
blob
|
history
diff --git
a/static/src/index.js
b/static/src/index.js
index 62c7734f602b4a08c0aac5785e84df2652c6214b..51b7f860d617be813c583cbc56bf4718540555fa 100644
(file)
--- a/
static/src/index.js
+++ b/
static/src/index.js
@@
-43,6
+43,8
@@
async function run_wasm(wasm_bytes) {
}
case 'terminated': {
+ wasm_worker.terminate();
+
wasm_worker = null;
update_running_msg();
break;