[xdebug-dev] xdebug xdebug/xdebug.c

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Wed, 14 Dec 2005 12:48:04 +0100

Date: Wed Dec 14 12:48:04 CET 2005
User: Derick Rethans
Directory: xdebug

Log Message:
- Fixed shutdown crash with ZTS on Win32 (Patch by Antony Dovgal)

Modified files:
           xdebug/xdebug.c (version: 1.283)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.282
retrieving revision 1.283
diff -u -r1.282 -r1.283
--- xdebug/xdebug.c:1.282 Mon Dec 12 10:53:10 2005 GMT
+++ xdebug/xdebug.c Wed Dec 14 10:48:03 2005 GMT
@@ -585,6 +585,12 @@
         zend_execute_internal = xdebug_old_execute_internal;
         zend_error_cb = old_error_cb;
 
+#ifdef ZTS
+ ts_free_id(xdebug_globals_id);
+#else
+ php_xdebug_shutdown_globals(&xdebug_globals TSRMLS_CC);
+#endif
+
         return SUCCESS;
 }
 
Received on Wed Dec 14 2005 - 12:48:11 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST