summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-05-25 07:46:25 +0000
committerDmitry Stogov <dmitry@php.net>2006-05-25 07:46:25 +0000
commit26ccde4da9fb2522755bdb5bc311dba2f0d7980e (patch)
tree930a8c5c5423e05760db1f08d3b7515780a6256d /Zend/zend_execute_API.c
parent43c79a616e05772570fa9accbe3fdf928e79948e (diff)
downloadphp-git-26ccde4da9fb2522755bdb5bc311dba2f0d7980e.tar.gz
Fixed bug #37558 (timeout functionality doesn't work after a second PHP starup on the same thread). (p dot desarnaud at wanadoo dot fr)
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 2d0f35eebf..7b9f141775 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -1332,6 +1332,7 @@ void zend_shutdown_timeout_thread()
/* Wait for thread termination */
WaitForSingleObject(timeout_thread_handle, 5000);
CloseHandle(timeout_thread_handle);
+ timeout_thread_initialized = 0;
}
#endif