Skip to content

[C] remove listener on changing MainPage#21616

Merged
PureWeen merged 1 commit intomainfrom
fix_21495
Apr 3, 2024
Merged

[C] remove listener on changing MainPage#21616
PureWeen merged 1 commit intomainfrom
fix_21495

Conversation

@StephaneDelcroix
Copy link
Contributor

Description of Change

[C] remove listener on changing MainPage
avoid leaking

Issues Fixed

((IElementDefinition)this).RemoveResourcesChangedListener(MainPage.OnParentResourcesChanged);
}

_singleWindowMainPage = value;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is actually setting MainPage, so listener was never removed on the previous MainPage

@PureWeen
Copy link
Member

PureWeen commented Apr 3, 2024

@PureWeen
Copy link
Member

PureWeen commented Apr 3, 2024

Failing tests unrelated
https://dev.azure.com/xamarin/public/_build/results?buildId=112415&view=results

The main test this is targeting has been fixed.

@PureWeen PureWeen merged commit 7b27403 into main Apr 3, 2024
@PureWeen PureWeen deleted the fix_21495 branch April 3, 2024 16:36
@github-actions github-actions bot locked and limited conversation to collaborators May 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bugzilla44166 now failing after ThemeResourcesChange fix

5 participants