Inline DESTROY even without DEMOLISH methods
authorYuval Kogman <nothingmuch@woobling.org>
Sat, 23 May 2009 20:45:05 +0000 (22:45 +0200)
committerYuval Kogman <nothingmuch@woobling.org>
Sat, 23 May 2009 20:45:05 +0000 (22:45 +0200)
commit8c86556cba116d097d2ae85cd3940aa280139989
treee67dec563e7c6a772a5c6fd9c6c299fa4e71829d
parent78a8615d2d15daa0be291d40c0e3bb8d39112c02
Inline DESTROY even without DEMOLISH methods

This prevents Moose::Object::DESTROY from calling
Moose::Object::DEMOLISHALL only to find that there are no DEMOLISH
methods at every object destruction
Changes
lib/Moose/Meta/Method/Destructor.pm