-
Notifications
You must be signed in to change notification settings - Fork 26.2k
fix(ivy): component destroy hook called twice when configured as provider #28470
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 Git 10000 Hub? Sign in to your account
fix(ivy): component destroy hook called twice when configured as provider #28470
Conversation
Edit: I had to revert the The feedback has been addressed. |
ed66585
to
c677d78
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes in tools/material-ci/angular_material_test_blocklist.js
LGTM.
483a799
to
3acd4f9
Compare
@kara I've moved the unit tests to
I've marked them as "only in Ivy", but I think that it's up for discussion how we should handle them. |
…ider Fixes the `ngOnDestroy` hook on a component or directive being called twice, if the type is also registered as a provider. This PR resolves FW-1010.
3acd4f9
to
252180c
Compare
I've updated it based on our discussion @kara. |
252180c
to
a581753
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
merge assistance: global approval |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes the
ngOnDestroy
hook on a component or directive being called twice, if the type is also registered as a provider.This PR resolves FW-1010.