There was an error while loading. Please reload this page.
1 parent c06c399 commit aac2464Copy full SHA for aac2464
tests/test_worker_module.js
@@ -10,6 +10,7 @@ function handle_msg(e) {
10
switch(ev.type) {
11
case "abort":
12
parent.postMessage({ type: "done" });
13
+ parent.onMessage = null; /* terminate the worker */
14
break;
15
case "sab":
16
/* modify the SharedArrayBuffer */
0 commit comments