projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Workaround for double-call of destructors (based on 3d56e026 and e1d9e578)
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
ResultSource.pm
diff --git
a/lib/DBIx/Class/ResultSource.pm
b/lib/DBIx/Class/ResultSource.pm
index
fea6327
..
f75f393
100644
(file)
--- a/
lib/DBIx/Class/ResultSource.pm
+++ b/
lib/DBIx/Class/ResultSource.pm
@@
-2306,6
+2306,9
@@
sub handle {
my $global_phase_destroy;
sub DESTROY {
+ ### NO detected_reinvoked_destructor check
+ ### This code very much relies on being called multuple times
+
return if $global_phase_destroy ||= in_global_destruction;
######