Uh oh!
There was an error while loading. Please reload this page.
[release/6.0] [wasm][debugger] Avoid exception when calling WhenAny with a null parameter - #76900
[release/6.0] [wasm][debugger] Avoid exception when calling WhenAny with a null parameter#76900thaystg wants to merge 1 commit into
Conversation
…s from whenany to avoid an exception and closing the app
ghost
commented
Oct 11, 2022
Tagging subscribers to this area: @thaystg Issue DetailsLooks like this is the exception: Trying to force it locally I cannot reproduce. But I'm trying to avoid the exception and adding extra log to help us to detect what is going on. fixes #68402
|
radical
commented
Oct 11, 2022
The real issue here is that it's a race condition, modifying Original commit: dotnet/runtime@ |
thaystg
commented
Oct 11, 2022
@radical can we backport it to 6? |
radical
commented
Oct 11, 2022
At a cursory glance, yeah, it looks doable. |
thaystg
commented
Oct 11, 2022
@lewing should we backport the correct and big fix? If the answer is yes I'll add this in my TODO list. |
carlossanlop
commented
Oct 25, 2022
@thaysg should this go into main first, then get backported to 6.0? |
Looks like this is the exception:
fail: Microsoft.WebAssembly.Diagnostics.DevToolsProxy[0] DevToolsProxy::Run: Exception System.ArgumentException: The tasks argument included a null value. (Parameter 'tasks') at System.Threading.Tasks.Task.WhenAny(Task[] tasks) at Microsoft.WebAssembly.Diagnostics.DevToolsProxy.Run(Uri browserUri, WebSocket ideSocket)Trying to force it locally I cannot reproduce. But I'm trying to avoid the exception and adding extra log to help us to detect what is going on.
fixes#68402