mirror of
https://github.com/danog/process.git
synced 2024-12-13 17:47:35 +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);
|
$data = \fread($socket, $length);
|
||||||
|
|
||||||
if ($data === false || $data === '') {
|
if ($data === false || $data === '') {
|
||||||
\fclose($socket);
|
|
||||||
Loop::cancel($state->readWatcher);
|
|
||||||
Loop::cancel($state->timeoutWatcher);
|
|
||||||
unset($this->pendingClients[(int) $socket]);
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user