Avoid OnAfterRender allocating to capture 'this'
This commit is contained in:
parent
d414ed107f
commit
7012ea9d03
|
|
@ -189,7 +189,7 @@ namespace Microsoft.AspNetCore.Blazor.Components
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void HandleException(Exception ex)
|
private static void HandleException(Exception ex)
|
||||||
{
|
{
|
||||||
if (ex is AggregateException && ex.InnerException != null)
|
if (ex is AggregateException && ex.InnerException != null)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue