Skip to content

Commit d5cc18e

Browse files
committed
Update NavigationManager.ts to dispatch navigations to external sources asynchronously
1 parent f14ad7c commit d5cc18e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Components/Server/src/Circuits/RemoteNavigationManager.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@ async Task PerformNavigationAsync()
108108
await _jsRuntime.InvokeVoidAsync(Interop.NavigateTo, uri, options);
109109
Log.NavigationCompleted(_logger, uri);
110110
}
111-
catch (TaskCanceledException) when (_jsRuntime is RemoteJSRuntime remoteRuntime && !remoteRuntime.IsInitialized)
112-
{
113-
Log.NavigationCanceled(_logger, uri);
114-
return;
115-
}
116111
catch (Exception ex)
117112
{
118113
// We shouldn't ever reach this since exceptions thrown from handlers are handled in HandleLocationChangingHandlerException.

0 commit comments

Comments
 (0)