Skip to content

Commit 818cd16

Browse files
committed
* fix issue with structure initialization
1 parent 36ab8a9 commit 818cd16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Zend/zend_execute_API.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,9 @@ void init_executor(void) /* {{{ */
201201

202202
#ifdef PHP_ASYNC_API
203203
EG(shutdown_context) = (zend_shutdown_context_t) {
204-
.is_started = NULL,
204+
.is_started = false,
205+
.coroutine = NULL,
206+
.num_elements = 0,
205207
.idx = 0
206208
};
207209
#endif

0 commit comments

Comments
 (0)