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

Clear the wrapper cache after the flush event is done #1057

Merged
merged 1 commit into from
May 3, 2014

Conversation

captolia
Copy link

@captolia captolia commented May 1, 2014

During the onFlush event of the SluggableListener a temperary cache is created in the AbstractWrapper (when checking for similar slugs). This cache doesn't get cleared once the process is completed, resulting in increasing memory consumption.

@l3pp4rd
Copy link
Contributor

l3pp4rd commented May 3, 2014

could be added to other listeners

l3pp4rd added a commit that referenced this pull request May 3, 2014
Clear the wrapper cache after the flush event is done
@l3pp4rd l3pp4rd merged commit 8e84ac1 into doctrine-extensions:master May 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants