You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/usr/bin/perl
use strict;
use warnings;
use AnyEvent;
use AnyEvent::Digest;
use Digest::MD5;
my $file = './test.flv';
my $time = AE::timer 0, 3, sub {
my $ctx = AnyEvent::Digest->new('Digest::MD5', unit => 655360, backend => 'aio');
$ctx->addfile_async($file)->cb(sub {
my $ctx = shift->recv;
print $ctx->hexdigest ,"\n";
});
};
AE::cv->recv;
Not only aio backend but also idle backend have a memory leak.
We should do
undef $call
when a callback loop ends.The text was updated successfully, but these errors were encountered: