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 pop @guarded
while @guarded; while @guarded;
if ( $SESSION ) { if ( our $SESSION ) {
$SESSION->var->end; $SESSION->var->end;
$SESSION->close; $SESSION->close;
undef $SESSION; undef $SESSION;