prevent sessions leaking when doing an export
This commit is contained in:
parent
8be5eeb5f6
commit
3ab206ad48
1 changed files with 2 additions and 0 deletions
|
|
@ -280,6 +280,8 @@ sub exportAsHtml {
|
|||
unless ( $self->canView($userId) ) {
|
||||
$returnCode = 0;
|
||||
$message = "can't view asset at URL " . $self->getUrl;
|
||||
$exportSession->var->end;
|
||||
$exportSession->close;
|
||||
return ($returnCode, $message);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue