diff options
Diffstat (limited to 'src/mono/wasm/runtime/debug.ts')
-rw-r--r-- | src/mono/wasm/runtime/debug.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mono/wasm/runtime/debug.ts b/src/mono/wasm/runtime/debug.ts index 1b57eb4c3be..a6115177040 100644 --- a/src/mono/wasm/runtime/debug.ts +++ b/src/mono/wasm/runtime/debug.ts @@ -105,7 +105,7 @@ export function mono_wasm_send_dbg_command(id: number, command_set: number, comm } export function mono_wasm_get_dbg_command_info(): CommandResponseResult { - const { res_ok, res } = commands_received.get(0); + const { res_ok, res } = commands_received.remove(0); if (!res_ok) throw new Error("Failed on mono_wasm_get_dbg_command_info"); |