BlazorPanzoom icon indicating copy to clipboard operation
BlazorPanzoom copied to clipboard

JSDisconnectedException

Open testnamepleaseigonre opened this issue 2 years ago • 0 comments

There is an exception which occurs every time while trying to reload the page by clicking that reload button on top/left. fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111] Unhandled exception in circuit 'u42n-m_RIMIbLyyQSEAmBa11LV6Tp41ooTiIya4Zmwc'. Microsoft.JSInterop.JSDisconnectedException: JavaScript interop calls cannot be issued at this time. This is because the circuit has disconnected and is being disposed. at Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime.BeginInvokeJS(Int64 asyncHandle, String identifier, String argsJson, JSCallResultType resultType, Int64 targetInstanceId) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, CancellationToken cancellationToken, Object[] args) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args) at Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeVoidAsync(IJSObjectReference jsObjectReference, String identifier, Object[] args) at BlazorPanzoom.PanzoomInterop.DestroyAsync() at BlazorPanzoom.PanzoomInterop.DisposeAsync() at BlazorPanzoom.Panzoom.DisposeAsync() at Microsoft.AspNetCore.Components.RenderTree.Renderer.<>c__DisplayClass69_0.<<Dispose>g__HandleAsyncExceptions|1>d.MoveNext()

Possible fix, the same issue (from other sources) image

https://github.com/Blazored/Modal/pull/463/files

testnamepleaseigonre avatar Oct 14 '22 11:10 testnamepleaseigonre