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] clear Facade resolvedInstances in queue worker resetScope callback #43215

Conversation

ankorstore-haddowg
Copy link
Contributor

Fixes #43151

Ensure scoped bindings are cleared from resolved facade instances when a worker resets its scope, as per https://github.com/laravel/octane/blob/1.x/src/CurrentApplication.php#L24

@ankorstore-haddowg ankorstore-haddowg force-pushed the fix/clear-facade-resolved-bindings-on-worker-rest-scope branch from 6b9e17e to fbe80ce Compare July 18, 2022 10:25
@ankorstore-haddowg ankorstore-haddowg force-pushed the fix/clear-facade-resolved-bindings-on-worker-rest-scope branch from fbe80ce to 0577815 Compare July 18, 2022 12:59
@taylorotwell taylorotwell merged commit 97e68c6 into laravel:8.x Jul 18, 2022
@driesvints
Copy link
Member

Thanks @ankorstore-haddowg

@ankorstore-haddowg ankorstore-haddowg deleted the fix/clear-facade-resolved-bindings-on-worker-rest-scope branch July 18, 2022 14:50
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.

3 participants