From 63ef6dd1c6685d94f7ba596ca9642b7c9616beb6 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Tue, 5 Dec 2017 10:24:19 +0100 Subject: [PATCH] Null child PID watcher to prevent double resolve --- lib/Internal/Windows/SocketConnector.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Internal/Windows/SocketConnector.php b/lib/Internal/Windows/SocketConnector.php index c89067a..a2e93f9 100644 --- a/lib/Internal/Windows/SocketConnector.php +++ b/lib/Internal/Windows/SocketConnector.php @@ -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,