Remove the exception filter that is problematic for wasm AOT
\n\nCommit migrated from b3cdc7bd5d
This commit is contained in:
parent
1a17bd995a
commit
10e316f541
|
|
@ -171,10 +171,15 @@ namespace Microsoft.JSInterop
|
||||||
{
|
{
|
||||||
return methodInfo.Invoke(targetInstance, suppliedArgs);
|
return methodInfo.Invoke(targetInstance, suppliedArgs);
|
||||||
}
|
}
|
||||||
catch (TargetInvocationException tie) when (tie.InnerException != null)
|
catch (TargetInvocationException tie)
|
||||||
{
|
{
|
||||||
ExceptionDispatchInfo.Capture(tie.InnerException).Throw();
|
if (tie.InnerException != null)
|
||||||
throw null; // unreachable
|
{
|
||||||
|
ExceptionDispatchInfo.Capture(tie.InnerException).Throw();
|
||||||
|
throw null; // unreached
|
||||||
|
}
|
||||||
|
|
||||||
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue