projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixup to Cursor, updated Changes
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
Cursor.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/Cursor.pm
b/lib/DBIx/Class/Storage/DBI/Cursor.pm
index
2550adc
..
770608c
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/Cursor.pm
+++ b/
lib/DBIx/Class/Storage/DBI/Cursor.pm
@@
-160,7
+160,7
@@
sub DESTROY {
my ($self) = @_;
$self->_check_forks_threads;
- $self->{sth}->finish if $self->{sth}->{Active};
+ $self->{sth}->finish if $self->{sth} && $self->{sth}->{Active};
}
1;