infect the storage subdrivers
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI.pm
index 87f84e6..ed69f43 100644 (file)
@@ -1147,7 +1147,7 @@ sub build_datetime_parser {
   return $type;
 }
 
-sub DESTROY { shift->disconnect }
+sub DESTROY { shift->_dbh(undef) }
 
 1;