Have the CStoreEditor grow a DESTROY
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 23 Sep 2010 04:33:39 +0000 (04:33 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 23 Sep 2010 04:33:39 +0000 (04:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17912 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm

index 89ccfa6..1788186 100644 (file)
@@ -76,6 +76,11 @@ sub new {
        return $self;
 }
 
+sub DESTROY {
+        my $self = shift;
+        $self->reset;
+        return undef;
+}
 
 sub app {
        my( $self, $app ) = @_;