that was stupid
[dbsrgits/DBIx-Class-Historic.git] / lib / DBIx / Class / Storage / DBI.pm
index 08e4fe5..87f84e6 100644 (file)
@@ -549,8 +549,8 @@ sub _verify_pid {
 
   return if !$self->_dbh || $self->_conn_pid == $$;
 
-  $self->_dbh(undef);
   $self->_dbh->{InactiveDestroy} = 1;
+  $self->_dbh(undef);
 
   return;
 }