reset blocking state on init

This commit is contained in:
Joe Watkins 2021-06-15 09:41:36 +02:00
parent 139a73b5a4
commit f46063495d
No known key found for this signature in database
GPG key ID: F9BA0ADA31CBD89E

View file

@ -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)