Weaken the associated_metaclass after cloning a method.
authorDave Rolsky <autarch@urth.org>
Sun, 19 Feb 2012 18:51:48 +0000 (12:51 -0600)
committerJesse Luehrs <doy@tozt.net>
Wed, 28 Mar 2012 23:28:32 +0000 (18:28 -0500)
commit7917b031541dcd794700b28e5b336d3bb342b694
treefffb0d87da38adf38a82b54b8dec2311617d205b
parentdc77c65e6ea69eb8c280163cbf80cc602b979218
Weaken the associated_metaclass after cloning a method.

This doesn't seem to fix any leaks, but I'm pretty sure it's the right thing
to do, since we weaken this slot when creating a new method.
lib/Class/MOP/Method.pm