Thanks kennethk.
I also found that instead of doing the object redirect, I can weaken() inside of the sub re-definition on $self directly:
*$sub = sub { weaken $self if ! isweak $self; ... }
I've been doing some testing with both scenarios to see if without the $closure_self, weird issues crop up.
In reply to Re^4: Trying to DESTROY() an object
by stevieb
in thread SOLVED: Trying to DESTROY() a (closure-wrapped) object
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |