Skip to content

ManagerRegistery should reset entity managers on kernel.reset #1083

@nicolas-grekas

Description

@nicolas-grekas

Follow up of symfony/symfony#34720

ManagerRegistry is able to reset entity managers, but I think we missed wiring this capability with the kernel.reset tag so that EM are reset between requests in long-running loops.

Given the dependency on LazyLoadingInterface, this should be done only when the interface is found of course.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions