Skip to content
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

Fix infinite recursion error in CommandMapper.Add() #16264

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

agaluzzi
Copy link
Contributor

@agaluzzi agaluzzi commented Jul 20, 2023

Description of Change

This commit fixes a problem in CommandMapper where the Add(string key, Action<TViewHandler, TVirtualView> action) method is simply calling itself, causing infinite recursion (stack overflow).

Issues Fixed

Fixes #16263

@ghost ghost added the community ✨ Community Contribution label Jul 20, 2023
@ghost
Copy link

ghost commented Jul 20, 2023

Hey there @agaluzzi! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@agaluzzi
Copy link
Contributor Author

@dotnet-policy-service agree

@mattleibow
Copy link
Member

/azp run

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 16264 in repo dotnet/maui

@PureWeen
Copy link
Member

/azp run

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 16264 in repo dotnet/maui

@PureWeen
Copy link
Member

/azp run

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 16264 in repo dotnet/maui

@rmarinho
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen PureWeen merged commit fdb244d into dotnet:main Jul 24, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.7.8842 Look for this fix in 8.0.0-preview.7.8842! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community ✨ Community Contribution fixed-in-8.0.0-preview.7.8842 Look for this fix in 8.0.0-preview.7.8842!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CommandMapper.Add() causes stack overflow
6 participants