Assigning `undef' to a scalar doesn't free it's memory,
we need to call `undef($var)' in the caller. It's also
been pointless since we simplified ->async_pass in commit
b7fbffd1f8c12556 (httpd/async: get rid of ephemeral main_cb, 2019-12-25)
# *_wcb methods respond to ->write (and ->close), not ->print
$fh->write($$bref);
# *_wcb methods respond to ->write (and ->close), not ->print
$fh->write($$bref);
- # we're done with this, free this memory up ASAP since the
- # calls after this may use much memory:
- $$bref = undef;
-
$self->{http} = $http;
$self->{fh} = $fh;
}
$self->{http} = $http;
$self->{fh} = $fh;
}