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

[FrameworkBundle] Do not access the container when the kernel is shut down #58327

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

jderusse
Copy link
Member

@jderusse jderusse commented Sep 20, 2024

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

#58240 play with the container after the kernel was shut down.
This is an issue when the kernel performs a cleanup operation. For instance, the @Nyholm TestBundle deletes cache files as a result, the service is not accessible anymore and triggers errors.

This PR move the call to container->get before kernel::shutdown

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
… down
@OskarStark
Copy link
Contributor

cc @HypeMC

@xabbuh
Copy link
Member

xabbuh commented Sep 20, 2024

Thank you @jderusse.

@xabbuh xabbuh merged commit 25c5f9c into symfony:5.4 Sep 20, 2024
11 of 12 checks passed
This was referenced Sep 21, 2024
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.

None yet

9 participants