Skip to content

Disposing chart throws error Blazor rc 6 .net 10 #2082

Description

@vincentnl78

Describe the bug
Navigating way from page with chart throws error
Prematurely disposed or observer is not disconnecting

To Reproduce
Steps to reproduce the behavior:

  1. Start a webassembly project (default)
  2. Add nuget package rc 6
  3. Add chart to counter page
  4. Install Wasm-tools
  5. Debug App
  6. Navigate to counter page
  7. Navigate away

Expected behavior
No error thrown

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]: Chrome
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Downgrading to rc 5.4 (and direct linking SkiaSharp.View.Blazor 3.119.1 solves it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blazorrequires external featuresWe can not fix this for now, we need a feature that is out of this library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions