Skip to content

Commit 97e2e2d

Browse files
authored
Add kernel.reset tag on DataCollector to be able to clear memory (#391)
fixes #390
1 parent a5df7d2 commit 97e2e2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Resources/config/data-collector.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
<service id="httplug.collector.collector" class="Http\HttplugBundle\Collector\Collector" public="false">
1717
<tag name="data_collector" template="@Httplug/webprofiler.html.twig" priority="200" id="httplug"/>
18+
<tag name="kernel.reset" method="reset"/>
1819
</service>
1920

2021
<service id="httplug.plugin.stack" class="Http\HttplugBundle\Collector\StackPlugin" public="false" abstract="true">

0 commit comments

Comments
 (0)