Skip to content

[release/3.1] Port ToolTip reentrancy fix from 4.8 #5013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

SamBent
Copy link
Contributor

@SamBent SamBent commented Aug 5, 2021

Addresses #3112
This is a port of a servicing fix in .NET 4.7-4.8

Issue: Closing a ToolTip raises events to user code that can request the ToolTip to close. The re-entrancy can lead to a NullReferenceException.

Discussion:
PopupControlService.RaiseToolTipClosingEvent should check _currentToolTip for null after doing anything that can call out to user code, to guard against re-entrant calls.

@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Aug 5, 2021
@ghost ghost requested review from fabiant3 and ryalanms August 5, 2021 16:55
@SamBent SamBent changed the title Port ToolTip reentrancy fix from 4.8 [release/3.1] Port ToolTip reentrancy fix from 4.8 Aug 5, 2021
@SamBent SamBent merged commit ce016f7 into dotnet:release/3.1 Aug 16, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Apr 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
PR metadata: Label to tag PRs, to facilitate with triage Servicing-consider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant