Make sure to access the correct $SESSION.

This commit is contained in:
Colin Kuskie 2009-10-08 12:54:11 -07:00
parent fefe21c83b
commit 82f78deb95

View file

@ -139,7 +139,7 @@ sub cleanup {
pop @guarded
while @guarded;
if ( $SESSION ) {
if ( our $SESSION ) {
$SESSION->var->end;
$SESSION->close;
undef $SESSION;