[html-formfu] Memory leaks because of Catalyst::Controller::HTML::FormFu?

Carl Franks fireartist at gmail.com
Mon Aug 16 09:09:16 GMT 2010

On 14 August 2010 13:39, Octavian Rasnita <orasnita at gmail.com> wrote:

> | $ctx->{stash}->{__InstancePerContext_58412720}->{c}                    |

I suspect it's something to do with our use of

I don't know whether that's still the best way to do things, I was
just told by mst to use InstancePerContext rather than the old way we
were providing the context reference.

Can you try making the following change, and see if it makes any
difference to your test?
Edit Catalyst/Controller/HTML/FormFu.pm
in the method "build_per_context_instance"
after the line "$self->{c} = $c;"
try adding "weaken $self->{c};"


More information about the HTML-FormFu mailing list