Skip to content

Commit

Permalink
Remove initCanvas call from DisposeAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
iancoetzer committed Jun 27, 2024
1 parent 3654128 commit 8788454
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Blazorex/CanvasBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ public async ValueTask DisposeAsync()
{
// Call javascript to delete this canvas Id from the _contexts array
await JSRuntime.InvokeVoidAsync("Blazorex.removeContext", Id);
await JSRuntime.InvokeVoidAsync("Blazorex.initCanvas", Id, managedInstance);


_disposed = true;
}
}
Expand Down

0 comments on commit 8788454

Please sign in to comment.