From cfe32274dcdbc3399468d6bb403d9f877813d3cd Mon Sep 17 00:00:00 2001 From: antoineatrhea Date: Mon, 8 Jan 2024 10:23:58 +0100 Subject: [PATCH] Fix SQ bug --- COMET.Web.Common/App.razor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/COMET.Web.Common/App.razor.cs b/COMET.Web.Common/App.razor.cs index b9c88257..38798fa0 100644 --- a/COMET.Web.Common/App.razor.cs +++ b/COMET.Web.Common/App.razor.cs @@ -91,6 +91,7 @@ private async Task OnNavigate(NavigationContext navigationContext) { var cancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(navigationContext.CancellationToken); cancellationTokenSource.Cancel(); + cancellationTokenSource.Dispose(); await Task.Delay(1);