Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Messenger] move resetting services at worker stopped into listener #46646

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

Merged
merged 1 commit into from
Jun 12, 2022

Conversation

Ioni14
Copy link
Contributor

@Ioni14 Ioni14 commented Jun 11, 2022

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #46349
License MIT

This PR tries to fix an issue about "--no-reset" introduced by a previous fix.
Instead of resetting the resettable receivers after the WorkerStoppedEvent dispatch, the ResetServicesListener subscribes to it and resets the resettable services.
It allows --no-reset to work again because this option decides the ResetServicesListener to be added or not.

@fabpot fabpot modified the milestones: 4.4, 5.4 Jun 12, 2022
@fabpot
Copy link
Member

fabpot commented Jun 12, 2022

Thank you @Ioni14.

@fabpot fabpot merged commit 9a65138 into symfony:5.4 Jun 12, 2022
This was referenced Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants