mirror of
https://github.com/danog/process.git
synced 2024-12-13 01:27:26 +01:00
Fix Windows readDataFromPendingClient
This commit is contained in:
parent
7117a6aa92
commit
3855fb6cba
@ -84,10 +84,6 @@ final class SocketConnector {
|
||||
$data = \fread($socket, $length);
|
||||
|
||||
if ($data === false || $data === '') {
|
||||
\fclose($socket);
|
||||
Loop::cancel($state->readWatcher);
|
||||
Loop::cancel($state->timeoutWatcher);
|
||||
unset($this->pendingClients[(int) $socket]);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user