You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file is missing implementing IAsyncDisposable/IDisposable. The blazor framework won't recognize the Dispose() method and it will never get executed.
I think it needs
@implementsIAsyncDisposable
The IJSObjectReference module needs to get disposed of too, and we need a private field for it.
privateIJSObjectReference?module;protectedoverrideasyncTaskOnAfterRenderAsync(boolfirstRender){if(firstRender){selfReference=DotNetObjectReference.Create(this);// Should module get disposed of as well?module=awaitJS.InvokeAsync<IJSObjectReference>("import","./Shared/SortableList.razor.js");awaitmodule.InvokeAsync<string>("init",Id,Group,Pull,Put,Sort,Handle,Filter,selfReference,ForceFallback);}}
The file is missing implementing IAsyncDisposable/IDisposable. The blazor framework won't recognize the
Dispose()
method and it will never get executed.I think it needs
The IJSObjectReference
module
needs to get disposed of too, and we need a private field for it.And finally
The text was updated successfully, but these errors were encountered: