that was stupid
Brandon L. Black [Sun, 23 Jul 2006 15:49:14 +0000 (15:49 +0000)]
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;
 }