[release/6.0] [wasm][debugger] Fixing race condition (#64648)
authorThays Grazia <thaystg@gmail.com>
Tue, 8 Mar 2022 20:40:52 +0000 (17:40 -0300)
committerGitHub <noreply@github.com>
Tue, 8 Mar 2022 20:40:52 +0000 (12:40 -0800)
commit3044c3bdc5de1f877501f21bf928bcb4abef28dd
treeba4ef4e41ec37e093a8bcc7bc00f842a87b0938f
parentb60aa54331db45785824b65f9475085a3ab905d0
[release/6.0] [wasm][debugger] Fixing race condition  (#64648)

* Backporting #64394

* Addressing @lewing comment offline.
src/mono/mono/component/mini-wasm-debugger.c
src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs
src/mono/wasm/runtime/library_mono.js