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

[11.x] Adds an app getter to the ViewServiceProvider. #51443

Closed
wants to merge 1 commit into from
Closed

[11.x] Adds an app getter to the ViewServiceProvider. #51443

wants to merge 1 commit into from

Conversation

AlliBalliBaba
Copy link

This PR is a first step towards solving a memory leak in laravel/octane.

Octane needs to be able to reset the application instance in the ViewServiceProvider since the provider changes the state of the original $app when re-registering the Blade engine (see ViewServiceProvider:166)

@driesvints driesvints changed the title Adds an app getter to the ViewServiceProvider. [11.x] Adds an app getter to the ViewServiceProvider. May 17, 2024
@driesvints
Copy link
Member

Since Octane supports Laravel v10, this should probably target 10.x instead.

@AlliBalliBaba AlliBalliBaba changed the base branch from 11.x to 10.x May 17, 2024 13:03
@AlliBalliBaba AlliBalliBaba changed the base branch from 10.x to 11.x May 17, 2024 13:04
@AlliBalliBaba
Copy link
Author

Hmm should I close this PR and open a new one for 10x?

@driesvints
Copy link
Member

yeah

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