Skip to content

Commit

Permalink
Need some exceptions removed in 556c4fe when some optdeps are missing
Browse files Browse the repository at this point in the history
  • Loading branch information
ribasushi committed Jan 22, 2014
1 parent 7d534e6 commit c0fe933
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions t/52leaks.t
Expand Up @@ -458,6 +458,17 @@ for my $addr (keys %$weak_registry) {
delete $weak_registry->{$addr}
unless $cleared->{hash_merge_singleton}{$weak_registry->{$addr}{weakref}{behavior}}++;
}
elsif (
# if we can look at closed over pieces - we will register it as a global
!DBICTest::Util::LeakTracer::CV_TRACING
and
$names =~ /^SQL::Translator::Generator::DDL::SQLite/m
) {
# SQLT::Producer::SQLite keeps global generators around for quoted
# and non-quoted DDL, allow one for each quoting style
delete $weak_registry->{$addr}
unless $cleared->{sqlt_ddl_sqlite}->{@{$weak_registry->{$addr}{weakref}->quote_chars}}++;
}
}

# FIXME !!!
Expand Down

0 comments on commit c0fe933

Please sign in to comment.