We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1908418 commit 0a89e99Copy full SHA for 0a89e99
1 file changed
win32/signal.c
@@ -122,6 +122,9 @@ PHP_FUNCTION(sapi_windows_set_ctrl_handler)
122
#endif
123
124
if (!php_win32_console_is_cli_sapi()) {
125
+ if (ZEND_FCC_INITIALIZED(fcc)) {
126
+ zend_release_fcall_info_cache(&fcc);
127
+ }
128
zend_throw_error(NULL, "CTRL events trapping is only supported on console");
129
RETURN_THROWS();
130
}
0 commit comments