diff --git a/src/Internal/EioPoll.php b/src/Internal/EioPoll.php index 84bb1e4..25d4b86 100644 --- a/src/Internal/EioPoll.php +++ b/src/Internal/EioPoll.php @@ -25,6 +25,9 @@ final class EioPoll $this->driver = $driver; if (!self::$stream) { + if (\function_exists('eio_init')) { + \eio_init(); + } self::$stream = \eio_get_event_stream(); }