Skip to content

Commit

Permalink
[browser][MT] fix void Main (dotnet#100629)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara authored and matouskozak committed Apr 30, 2024
1 parent 9edce38 commit 042731d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ public static void LoadSatelliteAssembly(byte[] dllBytes)
if (method.ReturnType == typeof(void))
{
method.Invoke(null, argsToPass);
#if FEATURE_WASM_MANAGED_THREADS
result = Task.FromResult(0);
#endif
}
else if (method.ReturnType == typeof(int))
{
Expand Down

0 comments on commit 042731d

Please sign in to comment.