Skip to content

Conversation

@AlliBalliBaba
Copy link
Contributor

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
Contributor 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