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:
parent
e208c9f0be
commit
63ef6dd1c6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user