Skip to content

Commit

Permalink
[wasm] Debugger tests - fix build
Browse files Browse the repository at this point in the history
`/workspaces/runtime/src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessProxy.cs(135,44): error CS8601: Possible null reference assignment`

Started being hit with dotnet#82479 .
The other instances of this were fixed in
dotnet#82803 .
  • Loading branch information
radical committed Mar 3, 2023
1 parent f604caf commit 0f59eb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public static void RegisterProxyExitState(string id, RunLoopExitState status)
s_statusTable[id] = status;
// we have the explicit state now, so we can drop the reference
// to the proxy
s_proxyTable.TryRemove(id, out WeakReference<DebuggerProxyBase> _);
s_proxyTable.TryRemove(id, out _);

if (s_exitHandlers.TryRemove(intId, out WeakReference<Action<RunLoopExitState>>? handlerRef)
&& handlerRef.TryGetTarget(out Action<RunLoopExitState>? handler))
Expand Down

0 comments on commit 0f59eb1

Please sign in to comment.