1
0
mirror of https://github.com/danog/process.git synced 2024-11-26 20:24:43 +01:00

Null child PID watcher to prevent double resolve

This commit is contained in:
Niklas Keller 2017-12-05 10:24:19 +01:00
parent e208c9f0be
commit 63ef6dd1c6

View File

@ -222,6 +222,8 @@ final class SocketConnector {
Loop::cancel($handle->childPidWatcher);
Loop::cancel($handle->connectTimeoutWatcher);
$handle->childPidWatcher = null;
if (\strlen($data) !== 5) {
$this->failHandleStart(
$handle,