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

Get rid of UpdateTerminalSettings #17009

Merged
merged 99 commits into from
Apr 5, 2024
Merged

Conversation

zadjii-msft
Copy link
Member

As @lhecker noted in the #16172 review, UpdateTerminalSettings is wacky. We can just pass the cache in at the start, then reset it and reuse it in UpdateSettings. One fewer try_as!

const auto profileDefaults{ _settings.ProfileDefaults() };
const auto allProfiles{ _settings.AllProfiles() };

profileGuidSettingsMap.reserve(allProfiles.Size() + 1);
Copy link
Member

Choose a reason for hiding this comment

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

don't we need to clear the profileGuidSettingsMap?

Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

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

Just blocking for my question - otherwise this looks good!

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Apr 5, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Apr 5, 2024
@DHowett DHowett added this pull request to the merge queue Apr 5, 2024
Merged via the queue into main with commit 1a6ba43 Apr 5, 2024
20 checks passed
@DHowett DHowett deleted the dev/migrie/b/992-sui-followups branch April 5, 2024 15:16
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.

3 participants