From 8296b29a380ce2767ef07a7ebb0ca5b5c37c1832 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Jul 2021 14:21:22 +0200 Subject: [PATCH 2/2] Fix PHP 5 and ZTS build --- php5/watcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php5/watcher.c b/php5/watcher.c index 9ff4d78..a5a2918 100644 --- a/php5/watcher.c +++ b/php5/watcher.c @@ -73,7 +73,7 @@ void php_ev_watcher_callback(EV_P_ ev_watcher *watcher, int revents) php_error_docref(NULL, E_WARNING, "Stopping %s watcher because of uncaught exception in the callback", Z_OBJCE_P(self)->name); - php_ev_stop_watcher(watcher); + php_ev_stop_watcher(watcher TSRMLS_CC); } zval_ptr_dtor(&self); -- 2.31.1