Skip to content

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

@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.

9 participants