Fix syntax error inside ErrorHandler.
Add DESTROY method to Config.pm Change Session::close so that it doesn't destroy things that don't exist (like _server) and destroys the logger last so we can log all errors.
This commit is contained in:
parent
cc370e180f
commit
8fade0f1d5
3 changed files with 11 additions and 4 deletions
|
|
@ -186,7 +186,10 @@ sub readAllConfigs {
|
|||
return \%configs;
|
||||
}
|
||||
|
||||
|
||||
sub DESTROY {
|
||||
my ($self) = @_;
|
||||
undef $self;
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue