Always save debugging information even if DisplayHandler is not invoked

This commit is contained in:
Kijin Sung 2016-03-24 08:34:13 +09:00
parent b6083c02fa
commit 71724bb9fa
2 changed files with 27 additions and 2 deletions

View file

@ -448,6 +448,12 @@ class Context
*/
public static function close()
{
// Save debugging information.
if (!DisplayHandler::$debug_printed)
{
DisplayHandler::getDebugInfo();
}
// Check session status and close it if open.
if (self::checkSessionStatus())
{