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

[8.x] Add a method to remove a resolved view engine #36955

Merged
merged 2 commits into from
Apr 12, 2021

Conversation

themsaid
Copy link
Member

https://github.com/facade/ignition has memory leak: https://github.com/facade/ignition/blob/a8201d51aae83addceaef9344592a3b068b5d64d/src/Views/Concerns/CollectsViewExceptions.php#L15-L19.

This PR adds a method to forget a view engine. We can use this method to flush the resolved facade/ignition engines after each request.

@taylorotwell taylorotwell merged commit cf439a0 into laravel:8.x Apr 12, 2021
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