Merge branch 'WebGUI8' into psgi

This commit is contained in:
Graham Knop 2010-06-08 17:59:17 -05:00
commit 02af1c68f9
5 changed files with 14 additions and 5 deletions

View file

@ -1012,6 +1012,12 @@ sub addToCleanup {
}
sub cleanup {
if ($ENV{WEBGUI_TEST_NOCLEANUP}) {
(pop @guarded)->dismiss
while @guarded;
return;
}
# remove guards in reverse order they were added, triggering all of the
# requested cleanup operations
pop @guarded