Skip to content

[BUG] [UWP] Crash after removing SKGLView from page #1315

Open
@joshminor

Description

@joshminor

Description

When more than one SKGLView is added to a page, removing one will cause a crash.
This was originally discovered while integrating Mapsui (Mapsui/Mapsui#935), but I believe the issue is within SkiaSharp.
I've tested this on Android and iOS without issue, it appears to only be within the UWP project.

STR

  • Add an SKGLView to page.
  • Add another SKGLView to page.
  • Remove second SKGLView
  • Do something to make the first element refresh (resize window, etc.)
  • Crash!

Basic Information

  • IDE: VS2019
  • SkiaSharp.Views 1.68.3
  • SkiaSharp.Views.Forms 1.68.3
  • Xamarin.Forms 4.6.0.800
  • UWP: 1803

Screenshots
image

Reproduction Link
SKGLViewCrash.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions