Skip to content

Conversation

PureWeen
Copy link
Member

@PureWeen PureWeen commented Jan 15, 2025

Description of Change

This contains all the code fixes made to #27159 but we can't modify the public nullability of this file until .NET 10

These changes were motivated by the following PR #26786

We modified the ViewController property to be a weak reference so we need to account for scenarios where it might become null without us realizing it.

Follow up work here #27162

@Copilot Copilot AI review requested due to automatic review settings January 15, 2025 18:55
@PureWeen PureWeen requested a review from a team as a code owner January 15, 2025 18:55
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellPageRendererTracker.cs:365

  • The variable 'image' should be checked for null before calling 'LoadImage'.
image.LoadImage(mauiContext, result => { ... })

@PureWeen PureWeen force-pushed the add_null_checking_page_renderer_tracker branch from 40beaf2 to 2fa5e85 Compare February 3, 2025 20:48
@jsuarezruiz
Copy link
Contributor

Needs retarget to net10.0 branch.

@PureWeen PureWeen closed this Feb 20, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Mar 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants