Skip to content

Commit 98deece

Browse files
committed
Reset trampoline on executor startup
Make sure the trampoline is usable, even if we had an unclean shutdown on the last request.
1 parent 429f194 commit 98deece

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_execute_API.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ void init_executor(void) /* {{{ */
173173
EG(prev_exception) = NULL;
174174

175175
EG(fake_scope) = NULL;
176+
EG(trampoline).common.function_name = NULL;
176177

177178
EG(ht_iterators_count) = sizeof(EG(ht_iterators_slots)) / sizeof(HashTableIterator);
178179
EG(ht_iterators_used) = 0;

0 commit comments

Comments
 (0)