Blasted circular references problems with CGI::Compress::Gzip

This commit is contained in:
Chris 2012-08-16 15:16:42 +01:00
parent 4a70d23767
commit aecb6b0af2

View File

@ -267,6 +267,7 @@ sub run {
# Prevent circular references from messing up shutdown # Prevent circular references from messing up shutdown
$self -> {"template"} -> set_module_obj(undef); $self -> {"template"} -> set_module_obj(undef);
$self -> {"messages"} -> set_module_obj(undef);
$self -> {"system"} -> clear() if($self -> {"system"}); $self -> {"system"} -> clear() if($self -> {"system"});
$self -> {"appuser"} -> set_system(undef) if($self -> {"appuser"}); $self -> {"appuser"} -> set_system(undef) if($self -> {"appuser"});