Skip to content

Instantly share code, notes, and snippets.

@nihen
Created February 9, 2011 06:13
Show Gist options
  • Save nihen/818002 to your computer and use it in GitHub Desktop.
Save nihen/818002 to your computer and use it in GitHub Desktop.
diff --git a/lib/DBIx/Skinny.pm b/lib/DBIx/Skinny.pm
index c974aea..954050b 100644
--- a/lib/DBIx/Skinny.pm
+++ b/lib/DBIx/Skinny.pm
@@ -805,6 +805,12 @@ sub _close_sth {
undef $sth;
}
+sub DESTROY {
+ my $class = shift;
+
+ $class->_verify_pid;
+}
+
1;
__END__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment