storage->disconnect and new tests for out-of-line implicit rels
[dbsrgits/DBIx-Class-Schema-Loader.git] / lib / DBIx / Class / Schema / Loader / Generic.pm
index 2e26292..c27538a 100644 (file)
@@ -143,7 +143,7 @@ sub new {
 
     warn qq/\### END DBIx::Class::Schema::Loader dump ###\n/
         if $self->debug;
-    $self->schema->storage->dbh->disconnect; # XXX this should be ->storage->disconnect later?
+    $self->schema->storage->disconnect;
 
     $self;
 }