1
0
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:
Niklas Keller 2017-09-17 21:25:55 +02:00
parent 7117a6aa92
commit 3855fb6cba

View File

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