force object out of scope to destroy instead of DESTROY method call
This commit is contained in:
parent
42caa72c98
commit
dcfc111934
1 changed files with 4 additions and 3 deletions
|
|
@ -302,9 +302,10 @@ sub view {
|
||||||
$var{content} = $1 || $var{content};
|
$var{content} = $1 || $var{content};
|
||||||
$var{"content.trailing"} = $2;
|
$var{"content.trailing"} = $2;
|
||||||
}
|
}
|
||||||
my $p = WebGUI::Asset::Wobject::HttpProxy::Parse->new($proxiedUrl, $var{content}, $self->getId,$self->get("rewriteUrls"),$self->getUrl);
|
{
|
||||||
$var{content} = $p->filter; # Rewrite content. (let forms/links return to us).
|
my $p = WebGUI::Asset::Wobject::HttpProxy::Parse->new($proxiedUrl, $var{content}, $self->getId,$self->get("rewriteUrls"),$self->getUrl);
|
||||||
$p->DESTROY;
|
$var{content} = $p->filter; # Rewrite content. (let forms/links return to us).
|
||||||
|
}
|
||||||
|
|
||||||
if ($var{content} =~ /<frame/gis) {
|
if ($var{content} =~ /<frame/gis) {
|
||||||
$var{header} = "text/html";
|
$var{header} = "text/html";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue