Skip to content

System.Threading.Tasks.TaskCanceledException on DisposeAsyncΒ #5

@alphamax

Description

@alphamax

Hello,

Thanks for your support, our live production raise errors on a given part of the code :

System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
   at Toolbelt.Blazor.FileDropZone.FileDropZone.RunAsync[TJSObject,TResult](TJSObject jSObject, Func`2 action, TResult defaultValue)
   at Toolbelt.Blazor.FileDropZone.FileDropZone.RunAndDisposeAsync[TJSObject,TResult](TJSObject jSObject, Func`2 action, TResult defaultValue)
   at Toolbelt.Blazor.FileDropZone.FileDropZone.DisposeAsync()
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.<ProcessDisposalQueueInExistingBatch>g__GetHandledAsynchronousDisposalErrorsTask|87_0(Task result)

Do you have any idea to "correct" this pattern ?

Thanks,

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions