Skip to content

Commit

Permalink
[browser][MT] fix void Main (#100629)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara committed Apr 4, 2024
1 parent ffb2578 commit e610649
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 e610649

Please sign in to comment.