We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04b926b commit c19cc34Copy full SHA for c19cc34
1 file changed
SpawnDev.BlazorJS.WebWorkers/WebWorkerService.cs
@@ -906,7 +906,7 @@ private void AddIncomingPort(MessagePort incomingPort)
906
// use client.openWindow
907
// this only works in specific circumstances
908
// typically used inside a notifiction click event in a service worker
909
- using var window = JS.ServiceWorkerThis!.Clients.OpenWindow(newWindowUrl);
+ using var window = await JS.ServiceWorkerThis!.Clients.OpenWindow(newWindowUrl);
910
}
911
var tcs = new TaskCompletionSource<AppInstance?>();
912
var task = tcs.Task;
0 commit comments