Permalink
Browse files

fix

  • Loading branch information...
1 parent 98104c1 commit c9d6c9659bb279cc132f1719150e140740d598b2 @nicolas-grekas committed Jan 7, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/logger/class/Patchwork/PHP/InDepthErrorHandler.php
View
4 core/logger/class/Patchwork/PHP/InDepthErrorHandler.php
@@ -97,6 +97,8 @@ static function shutdown()
{
self::$shuttingDown = 1;
+ self::unstackErrors();
+
if ($e = self::getLastError())
{
switch ($e['type'])
@@ -115,8 +117,6 @@ static function shutdown()
self::resetLastError();
}
}
-
- self::unstackErrors();
}
static function getLastError()

0 comments on commit c9d6c96

Please sign in to comment.