-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix race condition in Environment::loadTemplate
(1.x)
#1840
Fix race condition in Environment::loadTemplate
(1.x)
#1840
Conversation
Environment::loadTemplate
Environment::loadTemplate
(1.x)
This looks pretty great to me. Probably has() would need to be retained as deprecated function though - due to BC. |
|
@fabpot BC is needed. The Twig_CacheInterface has already been released. |
No need to keep BC when the interface has been released a week ago. Let's not add overhead for no good reasons. |
Thanks @znerol for working on this issue. |
it worked this way before before twigphp#1840 avoid error suppress operator when there is no good reason for it.
After looking at
|
Fixes #1836 (1.x branch)