Skip to content

Commit

Permalink
fix reuse buffer (#59775)
Browse files Browse the repository at this point in the history
  • Loading branch information
thaystg authored Sep 30, 2021
1 parent 3e77226 commit f582a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/wasm/runtime/library_mono.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,8 @@ var MonoSupportLib = {
Module._free (this._debugger_buffer);
this._debugger_buffer_len = Math.max(command_parameters.length, this._debugger_buffer_len, 256);
this._debugger_buffer = Module._malloc (this._debugger_buffer_len);
this._debugger_heap_bytes = new Uint8Array (Module.HEAPU8.buffer, this._debugger_buffer, this._debugger_buffer_len);
}
this._debugger_heap_bytes = new Uint8Array (Module.HEAPU8.buffer, this._debugger_buffer, this._debugger_buffer_len);
this._debugger_heap_bytes.set(this._base64_to_uint8 (command_parameters));
},

Expand Down

0 comments on commit f582a40

Please sign in to comment.