Author: Derick Rethans
Date: 2006-01-23 23:23:07 +0100 (Mon, 23 Jan 2006)
New Revision: 2009

Log:
- Fixed an unreported bug where in the case of an uncaught exception the error
  handler's onError() method would be called twice.

Modified:
   packages/Execution/trunk/ChangeLog
   packages/Execution/trunk/src/execution.php

Modified: packages/Execution/trunk/ChangeLog
===================================================================
--- packages/Execution/trunk/ChangeLog  2006-01-23 13:36:53 UTC (rev 2008)
+++ packages/Execution/trunk/ChangeLog  2006-01-23 22:23:07 UTC (rev 2009)
@@ -1,3 +1,10 @@
+1.0 - [RELEASEDATE]
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Fixed an unreported bug where in the case of an uncaught exception the error
+  handler's onError() method would be called twice.
+
+
 1.0rc1 - Monday 16 January 2006
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 

Modified: packages/Execution/trunk/src/execution.php
===================================================================
--- packages/Execution/trunk/src/execution.php  2006-01-23 13:36:53 UTC (rev 
2008)
+++ packages/Execution/trunk/src/execution.php  2006-01-23 22:23:07 UTC (rev 
2009)
@@ -186,6 +186,7 @@
      */
     static public function exceptionCallbackHandler( Exception $e )
     {
+        self::$cleanExit = true;        
         call_user_func( array( self::$callbackClassName, 'onError' ), $e );
     }
 
@@ -202,6 +203,7 @@
     {
         if ( !self::$cleanExit )
         {
+            self::$cleanExit = true;        
             call_user_func( array( self::$callbackClassName, 'onError' ) );
         }
     }

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to