1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 20:04:51 +01:00

Fix EioDriver (#61)

This commit is contained in:
Jáchym Toušek 2021-09-20 06:35:03 +02:00 committed by GitHub
parent a638ea0a4e
commit 3d3d084b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}