in reply to Re^5: problems with fork from thread
in thread problems with fork from thread
I still see memory leaks. And I left only:
my $tree = HTML::TreeBuilder->new(api_version => 3);
$tree = $tree->parse_content(decode_utf8($html));
$tree = $tree->delete();
If I return before parse_content, everything is fine.