aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
author= <[email protected]>2024-01-24 14:52:46 -0600
committerAyke <[email protected]>2024-01-29 16:23:35 +0100
commitcc3e7856928492b16c20e31f5a7bf331e324b1e8 (patch)
tree6d33fb81827e49936116cfcd70deae1cb7e1cdc8
parent0ea5cfc8fef81c8b8bed3381fdbd18f986bc9b65 (diff)
downloadtinygo-cc3e7856928492b16c20e31f5a7bf331e324b1e8.tar.gz
tinygo-cc3e7856928492b16c20e31f5a7bf331e324b1e8.zip
Remove unused value
-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 = () => {