Skip to content

Commit f1d3d78

Browse files
committed
code fixed
1 parent 5f084b9 commit f1d3d78

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Radzen.Blazor/RadzenContextMenu.razor.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,12 @@ public async ValueTask DisposeAsync()
139139

140140
if (IsJSRuntimeAvailable)
141141
{
142-
try {
143-
await JSRuntime.InvokeVoidAsync("Radzen.destroyPopup", UniqueID);
144-
}
145-
catch (JSDisconnectedException ex)
142+
try
146143
{
147-
// Ignore
144+
await JSRuntime.InvokeVoidAsync("Radzen.destroyPopup", UniqueID);
148145
}
146+
catch
147+
{ }
149148
}
150149

151150
Service.OnOpen -= OnOpen;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy