zendtech / ZendOptimizerPlus

Other
915 stars 142 forks source link

release lock in case of a fatal error #117

Closed lazy404 closed 11 years ago

lazy404 commented 11 years ago

Release lock if we plan to bail out.

zend_accel_error with ACCEL_LOG_ERROR calls zend_bailout(), which prevents the releasing of the lock.

laruence commented 11 years ago

see https://github.com/zendtech/ZendOptimizerPlus/blob/master/ZendAccelerator.c#L2327 lock will be released at deactive phase

lazy404 commented 11 years ago

You are right, thank You for reviewing.