Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Clear settings caches on reset rather than custom lifecycle method #12859

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Aug 2, 2024

No description provided.

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@t3chguy t3chguy added the T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems label Aug 2, 2024
@t3chguy t3chguy self-assigned this Aug 2, 2024
@t3chguy t3chguy mentioned this pull request Aug 2, 2024
@t3chguy t3chguy marked this pull request as ready for review August 2, 2024 14:25
@t3chguy t3chguy requested a review from a team as a code owner August 2, 2024 14:25
@t3chguy t3chguy requested review from dbkr and robintown August 2, 2024 14:25

public reset(): void {
AbstractLocalStorageSettingsHandler.clear();
AbstractLocalStorageSettingsHandler.clear();
Copy link
Member

Choose a reason for hiding this comment

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

is this supposed to be calling the same thing twice?

Copy link
Member Author

Choose a reason for hiding this comment

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

Derp

Copy link
Member Author

Choose a reason for hiding this comment

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

Turns out Lifecycle already had a custom clear method it called, wired it up to the standard SettingsHandler::reset which exists now instead, turns out this was only an issue for tests so changing the T

@t3chguy t3chguy changed the title Clear settings caches on reset Clear settings caches on reset rather than custom lifecycle method Aug 5, 2024
t3chguy added 2 commits August 5, 2024 10:50
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@t3chguy t3chguy requested a review from dbkr August 5, 2024 09:52
@t3chguy t3chguy added T-Task Refactoring, enabling or disabling functionality, other engineering tasks and removed T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems labels Aug 5, 2024
@t3chguy t3chguy added this pull request to the merge queue Aug 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 5, 2024
@t3chguy t3chguy added this pull request to the merge queue Aug 5, 2024
Merged via the queue into develop with commit 54e5321 Aug 5, 2024
38 checks passed
@t3chguy t3chguy deleted the t3chguy/fix-ls-settings-clear branch August 5, 2024 10:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants