-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix bug #76895 #4461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug #76895 #4461
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1932,6 +1932,11 @@ void php_request_shutdown(void *dummy) | |
zend_unset_timeout(); | ||
} zend_end_try(); | ||
|
||
/* 17. Deactivate Zend signals */ | ||
#ifdef ZEND_SIGNALS | ||
zend_signal_deactivate(); | ||
#endif | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think, it's not a good idea to add several syscalls on each request. May be enable this only in DEBUG build? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe just drop the SIGNAL_BEGIN_CRITICAL in zend_signal_deactivate? Then there shouldn't be any syscalls, and I don't see a reason why this needs to block signals during the reset, as long as active=0 is set first. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. agree |
||
#ifdef PHP_WIN32 | ||
if (PG(com_initialized)) { | ||
CoUninitialize(); | ||
|
Uh oh!
There was an error while loading. Please reload this page.