it seems that DBM::Deep is leaking memory
git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@223
836a5e1a-633d-0410-964b-
294494ad4392
use Data::Dump qw/dump/;
use File::Find;
+use Devel::LeakTrace::Fast;
+
my $port = 3333;
my $debug = 0;
my $store_path = './';
use Carp qw/confess cluck/;
use Class::Trigger;
+#use Devel::LeakTrace::Fast;
+
=head1 NAME
CWMP::Request - parse SOAP request metods
} elsif ( $job = $queue->dequeue ) {
$xml = $self->dispatch( $job->dispatch );
} elsif ( $size == 0 ) {
- warn ">>> no more queued commands, no client pending, closing connection $to_uid";
+ warn ">>> over, closing connection $to_uid";
$sock->close;
return;
} else {
use Cwd qw/abs_path/;
use lib 'lib';
+use Devel::LeakTrace::Fast;
+
BEGIN {
use_ok('CWMP::Store');
use_ok('CWMP::Store::DBMDeep');
is_deeply( [ $store->all_uids ], [ 123456, 99999 ], 'all_uids' );
+ undef $store;
+
}
# now test all stores