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>
Sat, 31 Mar 2012 00:23:54 +0000 (19:23 -0500)
commitcc03c2b85822f6651fa0c66ad6c115ef5b92426a
treeed7d94388aa3db9b250a22faf5aec5f71a78cb71
parent634a98c9fa80d75fc9b0968ce05d788c1cdf19b3
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