Skip to content

refactor(core): remove an unused field and invoke setActiveConsumer at the right time#58864

Closed
AndrewKushnir wants to merge 2 commits intoangular:mainfrom
AndrewKushnir:core_misc_cleanup
Closed

refactor(core): remove an unused field and invoke setActiveConsumer at the right time#58864
AndrewKushnir wants to merge 2 commits intoangular:mainfrom
AndrewKushnir:core_misc_cleanup

Conversation

@AndrewKushnir
Copy link
Copy Markdown
Contributor

This PR contains a couple minor commits:

refactor(core): remove unused field in ApplicationRef class

This commit removes an unused field in the ApplicationRef class. Most likely the usage of the field was removed earlier.

refactor(core): invoke setActiveConsumer in ɵɵdeferHydrateWhen at the right time

This commit updates the code of the ɵɵdeferHydrateWhen function to invoke the setActiveConsumer function at the right time (currently, we invoke it in the finally block, which is too late).

This commit removes an unused field in the `ApplicationRef` class. Most likely the usage of the field was removed earlier.
… the right time

This commit updates the code of the `ɵɵdeferHydrateWhen` function to invoke the `setActiveConsumer` function at the right time (currently, we invoke it in the `finally` block, which is too late).
@AndrewKushnir AndrewKushnir added action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release labels Nov 25, 2024
@ngbot ngbot bot added this to the Backlog milestone Nov 25, 2024
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Nov 25, 2024
Copy link
Copy Markdown
Contributor

@thePunderWoman thePunderWoman left a comment

Choose a reason for hiding this comment

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

LGTM

@thePunderWoman thePunderWoman added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 25, 2024
thePunderWoman pushed a commit that referenced this pull request Nov 25, 2024
… the right time (#58864)

This commit updates the code of the `ɵɵdeferHydrateWhen` function to invoke the `setActiveConsumer` function at the right time (currently, we invoke it in the `finally` block, which is too late).

PR Close #58864
thePunderWoman pushed a commit that referenced this pull request Nov 25, 2024
This commit removes an unused field in the `ApplicationRef` class. Most likely the usage of the field was removed earlier.

PR Close #58864
thePunderWoman pushed a commit that referenced this pull request Nov 25, 2024
… the right time (#58864)

This commit updates the code of the `ɵɵdeferHydrateWhen` function to invoke the `setActiveConsumer` function at the right time (currently, we invoke it in the `finally` block, which is too late).

PR Close #58864
@thePunderWoman
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit c56ec5e.

The changes were merged into the following branches: main, 19.0.x

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants