Subject: | StackTrace::Auto causes objects to leak |
StackTrace::Auto role does not set "no_refs" option of Devel::StackTrace.
This results in my objects not being destroyed until global destruction and are thus leaking.
I'm using Throwable in model classes used in a Catalyst application, so this is causing a leak. If I
set no_refs => 1 it no longer leaks and my objects are not "DEMOLISHED" at global destruction
any more. Is there any reason no to set this?