aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/wasm_exec.js
diff options
context:
space:
mode:
Diffstat (limited to 'targets/wasm_exec.js')
-rw-r--r--targets/wasm_exec.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/targets/wasm_exec.js b/targets/wasm_exec.js
index 5dfc67c35..a7f8c31b1 100644
--- a/targets/wasm_exec.js
+++ b/targets/wasm_exec.js
@@ -466,8 +466,6 @@
this._idPool = []; // unused ids that have been garbage collected
this.exited = false; // whether the Go program has exited
- const mem = new DataView(this._inst.exports.memory.buffer)
-
while (true) {
const callbackPromise = new Promise((resolve) => {
this._resolveCallbackPromise = () => {