Skip to content

Commit

Permalink
Revert "[browser][MT] troubleshooting deadlocks 2 (dotnet#104615)"
Browse files Browse the repository at this point in the history
This reverts commit ed9642e.
  • Loading branch information
matouskozak committed Jul 11, 2024
1 parent e777a89 commit fa46b9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public static void InstallMainSynchronizationContext(JSMarshalerArgument* argume
}
catch (Exception ex)
{
Environment.FailFast($"InstallMainSynchronizationContext: Unexpected failure (ManagedThreadId {Environment.CurrentManagedThreadId}): " + ex);
arg_exc.ToJS(ex);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ private void Pump()
// otherwise, we could schedule another round
AwaitNewData();
}
catch (Exception ex)
catch (Exception e)
{
Environment.FailFast($"JSSynchronizationContext.Pump: Unexpected failure (ManagedThreadId {Environment.CurrentManagedThreadId}): " + ex);
Environment.FailFast($"JSSynchronizationContext.Pump failed, ManagedThreadId: {Environment.CurrentManagedThreadId}. {Environment.NewLine} {e.StackTrace}");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@ await executor.Execute(async () =>
}

[Theory, MemberData(nameof(GetTargetThreadsAndBlockingCalls))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/99951")]
public async Task WaitAssertsOnSyncCallback(Executor executor, NamedCall method)
{
using var cts = CreateTestCaseTimeoutSource();
Expand Down Expand Up @@ -556,7 +555,6 @@ await WebWorkerTestHelper.CallMeBackSync(() =>
}

[Theory, MemberData(nameof(GetTargetThreadsAndBlockingCalls))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/99951")]
public async Task WaitAssertsOnSyncJSExport(Executor executor, NamedCall method)
{
using var cts = CreateTestCaseTimeoutSource();
Expand Down

0 comments on commit fa46b9e

Please sign in to comment.