Skip to content

Conversation

@FoggyFinder
Copy link
Contributor

Description of Change

Add an additional check to prevent exception. See related topics:

[Bug] ImgeButtonRenderer used with Effect is disposed before calling OnDetach which may cause exception #13889
Fix ObjectDisposedException issues for renderers OnElementPropertyChanged #9764

Since it's used in single place I think it's not worth creating/copying all these extensions from XF source.

Tests aren't provided cause it's not easy to replicate the exception.

Bugs Fixed

API Changes
None.

Behavioral Changes
None.

Required skia PR
None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Merged related skia PRs
  • Changes adhere to coding standard
  • Updated documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Random app crashes

2 participants