You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #1552 [TwigComponent] Fix full context is stored in profiler (smnandre)
This PR was merged into the 2.x branch.
Discussion
----------
[TwigComponent] Fix full context is stored in profiler
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Issues | Fix [#1540](#1540)
| License | MIT
As `$event->getVariables()` get the full context for non-embed components, this led to huge data stored for every component called during the request. (see [#1540](#1540))
As this is internal data, and the "variables" was not used in the profiler, I believe we should consider this a bug and simply remove it.
Commits
-------
0cd1879 [TwigComponent] Fix full context is stored in profiler
0 commit comments