Skip to content

Commit

Permalink
reset blocking state on init
Browse files Browse the repository at this point in the history
  • Loading branch information
krakjoe committed Jun 15, 2021
1 parent 139a73b commit f460634
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Zend/zend_fibers.c
Expand Up @@ -816,6 +816,8 @@ void zend_fiber_init(void)
zend_fiber_switch_block = fiber_switch_block;
zend_fiber_switch_unblock = fiber_switch_unblock;
zend_fiber_switch_blocked = fiber_switch_blocked;

zend_fiber_switch_blocking = 0;
}

void zend_fiber_shutdown(void)
Expand Down

0 comments on commit f460634

Please sign in to comment.