Skip to content

Commit c75b334

Browse files
committed
[EventLoop][LibEv] Let stream remove event listener
1 parent 78c4bf5 commit c75b334

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

LibEvLoop.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@ private function wrapStreamListener($stream, $listener, $flags)
7777
}
7878

7979
return function ($event) use ($stream, $listener, $removeCallback) {
80-
if (feof($stream)) {
81-
call_user_func($removeCallback, $stream);
82-
83-
return;
84-
}
85-
8680
call_user_func($listener, $stream);
8781
};
8882
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy